Compare commits

...

4 Commits
main ... timing

Author SHA1 Message Date
David Barroso
eb8b6b5f7d Merge branch 'main' of github.com:nhost/nhost into timing 2025-10-31 13:02:03 +01:00
David Barroso
e8c9e1e239 Merge branch 'main' into timing 2025-10-30 16:42:08 +01:00
David Barroso
0cc0f74404 asd 2025-10-30 09:19:40 +01:00
David Barroso
dd04d64a6b chore(cli): increase timeouts for testing purposes 2025-10-30 09:16:50 +01:00
2 changed files with 10 additions and 4 deletions

View File

@@ -38,6 +38,8 @@ func graphql( //nolint:funlen
env[v.Name] = v.Value
}
env["HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT"] = "600"
return &Service{
Image: "nhost/graphql-engine:" + *cfg.GetHasura().GetVersion(),
DependsOn: map[string]DependsOn{
@@ -54,7 +56,7 @@ func graphql( //nolint:funlen
"CMD-SHELL",
"curl http://localhost:8080/healthz > /dev/null 2>&1",
},
Timeout: "60s",
Timeout: "600s",
Interval: "5s",
StartPeriod: "60s",
},
@@ -135,6 +137,8 @@ func console( //nolint:funlen
env[v.Name] = v.Value
}
env["HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT"] = "600"
return &Service{
Image: fmt.Sprintf(
"nhost/graphql-engine:%s.cli-migrations-v3",
@@ -165,7 +169,7 @@ func console( //nolint:funlen
"CMD-SHELL",
"timeout 1s bash -c ':> /dev/tcp/127.0.0.1/9695' || exit 1",
},
Timeout: "60s",
Timeout: "600s",
Interval: "5s",
StartPeriod: "60s",
},

View File

@@ -39,6 +39,7 @@ func expectedGraphql() *Service {
"HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE": "100",
"HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL": "1000",
"HASURA_GRAPHQL_LOG_LEVEL": "info",
"HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT": "600",
"HASURA_GRAPHQL_PG_CONNECTIONS": "50",
"HASURA_GRAPHQL_PG_TIMEOUT": "180",
"HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES": "false",
@@ -77,7 +78,7 @@ func expectedGraphql() *Service {
"CMD-SHELL",
"curl http://localhost:8080/healthz > /dev/null 2>&1",
},
Timeout: "60s",
Timeout: "600s",
Interval: "5s",
StartPeriod: "60s",
},
@@ -178,6 +179,7 @@ func expectedConsole() *Service {
"HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_BATCH_SIZE": "100",
"HASURA_GRAPHQL_LIVE_QUERIES_MULTIPLEXED_REFETCH_INTERVAL": "1000",
"HASURA_GRAPHQL_LOG_LEVEL": "info",
"HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT": "600",
"HASURA_GRAPHQL_PG_CONNECTIONS": "50",
"HASURA_GRAPHQL_PG_TIMEOUT": "180",
"HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES": "false",
@@ -216,7 +218,7 @@ func expectedConsole() *Service {
"CMD-SHELL",
"timeout 1s bash -c ':> /dev/tcp/127.0.0.1/9695' || exit 1",
},
Timeout: "60s",
Timeout: "600s",
Interval: "5s",
StartPeriod: "60s",
},