We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3926fd4 commit af4d00fCopy full SHA for af4d00f
internal/db/schema_integration_test.go
@@ -30,7 +30,7 @@ func TestSchemaIntrospectionIntegration(t *testing.T) {
30
testcontainers.WithWaitStrategy(
31
wait.ForLog("database system is ready to accept connections").
32
WithOccurrence(2).
33
- WithStartupTimeout(5*time.Second)),
+ WithStartupTimeout(60*time.Second)),
34
)
35
require.NoError(t, err)
36
@@ -76,9 +76,9 @@ func TestSchemaIntrospectionIntegration(t *testing.T) {
76
77
// Verify "users" table
78
var usersTable *types.Table
79
- for _, t := range schemaObj.Tables {
80
- if t.Name == "users" {
81
- usersTable = &t
+ for i := range schemaObj.Tables {
+ if schemaObj.Tables[i].Name == "users" {
+ usersTable = &schemaObj.Tables[i]
82
break
83
}
84
0 commit comments