Skip to content

Commit

Permalink
fix(proxy-test): add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashirwadjain committed Jan 13, 2025
1 parent 513dfa4 commit 03518e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/keytransaction/keytransaction_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package keytransaction

import (
"fmt"
"testing"

"github.com/stretchr/testify/require"
Expand All @@ -24,6 +25,9 @@ func TestIntegrationKeyTransaction_All(t *testing.T) {
testhelpers.IntegrationTestApplicationEntityNameNew,
testKeyTransactionName,
)
fmt.Println("createKeyTransactionTestResult", createKeyTransactionTestResult)
fmt.Println("err", err)
time.Sleep(3 * time.Second)

Check failure on line 30 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time

Check failure on line 30 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time

require.NoError(t, err)
require.NotNil(t, createKeyTransactionTestResult)
Expand All @@ -45,6 +49,9 @@ func TestIntegrationKeyTransaction_All(t *testing.T) {
createKeyTransactionTestResult.GUID,
testKeyTransactionName+"-updated",
)
time.Sleep(3 * time.Second)

Check failure on line 52 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time

Check failure on line 52 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time
fmt.Println("updateKeyTransactionTestResult", updateKeyTransactionTestResult)
fmt.Println("err", err)

require.NoError(t, err)
require.NotNil(t, updateKeyTransactionTestResult)
Expand All @@ -55,6 +62,9 @@ func TestIntegrationKeyTransaction_All(t *testing.T) {
// deleting the key transaction created
// this is expected to throw no error and delete the created key transaction
deletedResult, err := client.KeyTransactionDelete(createKeyTransactionTestResult.GUID)
time.Sleep(3 * time.Second)

Check failure on line 65 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time

Check failure on line 65 in pkg/keytransaction/keytransaction_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

undefined: time
fmt.Println("deletedResult", deletedResult)
fmt.Println("err", err)
require.NoError(t, err)
require.NotNil(t, deletedResult)
require.Equal(t, deletedResult.Success, true)
Expand Down

0 comments on commit 03518e3

Please sign in to comment.