Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Fix flaky test. #1538

Merged
merged 1 commit into from
May 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions idb/postgres/internal/writer/writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1435,12 +1435,12 @@ func TestWriterAddBlockInnerTxnsAssetCreate(t *testing.T) {
// Inner pay 2
require.Equal(t, "", txns[2].txid)
require.Equal(t, expectedExtra, txns[2].extra)
require.NotContains(t, txns[2].txn, "itx", "The inner transactions should be pruned.")
require.NotContains(t, txns[2].txn, `"itx"`, "The inner transactions should be pruned.")

// Inner xfer
require.Equal(t, "", txns[3].txid)
require.Equal(t, expectedExtra, txns[3].extra)
require.NotContains(t, txns[3].txn, "itx", "The inner transactions should be pruned.")
require.NotContains(t, txns[3].txn, `"itx"`, "The inner transactions should be pruned.")

// Verify correct App and Asset IDs
require.Equal(t, 1, txns[0].asset, "intra == 0 -> ApplicationID = 1")
Expand Down