Skip to content
Prev Previous commit
Next Next commit
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 <noreply@anthropic.com>
  • Loading branch information
claude committed Dec 18, 2025
commit e0cd02f0d3bc1dacf3362cf2b609f97ed1e10b36
4 changes: 2 additions & 2 deletions internal/endtoend/endtoend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ func TestReplay(t *testing.T) {
}
},
Enabled: func() bool {
// Always enabled - tests will fail if databases aren't available
return true
// Enabled if at least one database URI is available
return postgresURI != "" || mysqlURI != ""
},
},
}
Expand Down
Loading