Skip to content

Commit

Permalink
Fixes docdb unit test (#1162)
Browse files Browse the repository at this point in the history
Signed-off-by: PuneetPunamiya <[email protected]>
  • Loading branch information
PuneetPunamiya authored Jul 22, 2024
1 parent dcbad78 commit 91a095f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/chains/storage/docdb/docdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ func TestWatchBackend(t *testing.T) {
// Let's wait for the event to be read by fsnotify
time.Sleep(500 * time.Millisecond)

// Empty the channel now
<-backendChan
currentEnv = os.Getenv("MONGO_SERVER_URL")
if currentEnv != testEnv {
t.Errorf("expected MONGO_SERVER_URL: %s, but got %s", testEnv, currentEnv)
Expand Down

0 comments on commit 91a095f

Please sign in to comment.