Skip to content

Commit

Permalink
feat: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
karlem committed Oct 16, 2023
1 parent fac8b1d commit 2a7f230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions datanode/networkhistory/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ func TestMain(t *testing.M) {
log.Infof("%s", goldenSourceHistorySegment[4000].HistorySegmentID)
log.Infof("%s", goldenSourceHistorySegment[5000].HistorySegmentID)

panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[1000].HistorySegmentID, "QmNx7ftarYcLKQ1QnpVv3R9gFeRSkmjk4aAGVdQzqbhL61", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[2000].HistorySegmentID, "QmeKifM2MXjTHATfv49marCjFF3up281B3WLNY3ZaGC8Yy", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[2500].HistorySegmentID, "QmcqK1dMRGkiaoTYaEYpr73Zp5WB7KJj8rYSN78p8V9Jh6", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[3000].HistorySegmentID, "QmYz8Va3rKES8pQjC7KweomqeR86W9XEp6o3KUA2V8yoa6", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[4000].HistorySegmentID, "QmeuUZRZv9tzsWuktxKmkN4pBeT7XGMbcWTefrNJqtqpsh", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[5000].HistorySegmentID, "QmP1BJnHyevTNH888gmN1mcNHN9YNsyxKREx6hVa9eLQYF", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[1000].HistorySegmentID, "QmYrVbhxx5LLwa51an7uBGsSNYRfNxLq8TmtHECCZ1dfHq", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[2000].HistorySegmentID, "QmRtr3QBKdxaMutNpxz3jr2bb4AjcngkKQmqYRfgCULF4U", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[2500].HistorySegmentID, "QmQ6TqEYwWoTdTJwmmNexPRtDQiRJHW21CFuSKMwdjEaCS", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[3000].HistorySegmentID, "QmShyPtkonnSofDj7EfdP6YieuX5Z3hah2wifrp1qFgQDE", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[4000].HistorySegmentID, "QmYyKDXtJBLCcg8qQGGwbahWme4vbaMgabthEFov3dNHFx", snapshots)
panicIfHistorySegmentIdsNotEqual(goldenSourceHistorySegment[5000].HistorySegmentID, "QmWDXhoT1HJf81YGbRAY46jD1de8oqxb4vZ8H9TDADVxwY", snapshots)
}, postgresRuntimePath, sqlFs)

if exitCode != 0 {
Expand Down

0 comments on commit 2a7f230

Please sign in to comment.