Skip to content

Commit

Permalink
Disable flaky TestWatchBackend test (#1207)
Browse files Browse the repository at this point in the history
Relates #1178

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
  • Loading branch information
lcarva authored Oct 4, 2024
1 parent 5252780 commit 30eaa17
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions pkg/chains/storage/docdb/docdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 30eaa17

Please sign in to comment.