From 8b2225c88807e59747d45f978347cdb67a8f526b Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Tue, 17 Sep 2024 10:43:42 -0400 Subject: [PATCH] Disable flaky TestWatchBackend test Relates #1178 Signed-off-by: Luiz Carvalho --- pkg/chains/storage/docdb/docdb_test.go | 27 +++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pkg/chains/storage/docdb/docdb_test.go b/pkg/chains/storage/docdb/docdb_test.go index 34355289a..9fe6f1875 100644 --- a/pkg/chains/storage/docdb/docdb_test.go +++ b/pkg/chains/storage/docdb/docdb_test.go @@ -310,19 +310,20 @@ func TestWatchBackend(t *testing.T) { expectedMongoEnv: testEnv, wantErr: true, }, - { - name: "verify mongo-server-url-dir/MONGO_SERVER_URL is watched", - cfg: config.Config{ - Storage: config.StorageConfigs{ - DocDB: config.DocDBStorageConfig{ - URL: "mongo://chainsdb/chainscollection?id_field=name", - MongoServerURLDir: t.TempDir(), - }, - }, - }, - expectedMongoEnv: "mongodb://updatedEnv", - wantErr: false, - }, + // TODO: https://github.com/tektoncd/chains/issues/1178 + // { + // name: "verify mongo-server-url-dir/MONGO_SERVER_URL is watched", + // cfg: config.Config{ + // Storage: config.StorageConfigs{ + // DocDB: config.DocDBStorageConfig{ + // URL: "mongo://chainsdb/chainscollection?id_field=name", + // MongoServerURLDir: t.TempDir(), + // }, + // }, + // }, + // expectedMongoEnv: "mongodb://updatedEnv", + // wantErr: false, + // }, } for _, tt := range tests {