Skip to content

Commit e0cd02f

Browse files
committed
fix: only enable managed-db context when databases are available
Update the Enabled check for managed-db context to verify at least one database URI is available before running those tests. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1a2126d commit e0cd02f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/endtoend/endtoend_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ func TestReplay(t *testing.T) {
214214
}
215215
},
216216
Enabled: func() bool {
217-
// Always enabled - tests will fail if databases aren't available
218-
return true
217+
// Enabled if at least one database URI is available
218+
return postgresURI != "" || mysqlURI != ""
219219
},
220220
},
221221
}

0 commit comments

Comments
 (0)