diff --git a/reconciler/reconciler_test.go b/reconciler/reconciler_test.go index a4b6116..0b4dba1 100644 --- a/reconciler/reconciler_test.go +++ b/reconciler/reconciler_test.go @@ -67,7 +67,7 @@ func performMongoSetup() { col := s.GetCollection("collection-reconciler") _, err = col.DeleteMany(context.Background(), bson.D{}) - if err != nil { + if err != nil && !errors.IsNotFound(err) { log.Panicf("Setup: failed to cleanup existing entries: %s", err) }