Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: resovled test failing due to ci contraint

=7adaba52ef88
diff --git a/.github/workflows/run-blackbox-tests.yml b/.github/workflows/run-blackbox-tests.yml
index 81e9d1fac0..781c0f4f0c 100644
--- a/.github/workflows/run-blackbox-tests.yml
+++ b/.github/workflows/run-blackbox-tests.yml
@@ -83,7 +83,7 @@ jobs:
cache-to: type=gha,mode=max,scope=infisical-blackbox-backend
- name: Run suites
- run: make test-all
+ run: make test-suites
working-directory: tests
env:
INFISICAL_TEST_IMAGE: infisical-test:ci
diff --git a/tests/harness/infisical/ready.go b/tests/harness/infisical/ready.go
index a68659a3c8..28fe8dc90e 100644
--- a/tests/harness/infisical/ready.go
+++ b/tests/harness/infisical/ready.go
@@ -28,7 +28,8 @@ type status struct {
func readyStrategy() infra.Ready {
return infra.ForHTTP("/api/status").
WithPort(fmt.Sprintf("%d/tcp", port)).
- WithStatusCodeMatcher(func(code int) bool { return code == http.StatusOK })
+ WithStatusCodeMatcher(func(code int) bool { return code == http.StatusOK }).
+ WithStartupTimeout(2 * time.Minute)
}
// checkStatus runs once the application is up and asserts that Redis and SMTP