agent-exec transport 07766a247a517f1f0231fe241083b456/c332221e1735
ci / svc-realcombo (pull_request) Successful in 2m35s
ci / test (pull_request) Failing after 5m21s
ci / test-pg (pull_request) Successful in 8m24s

This commit is contained in:
agent-exec-transport
2026-10-18 15:09:57 +00:00
parent e186983577
commit bbb92380c7
@@ -495,7 +495,14 @@ func (e *env) loginAlice(t *testing.T) *userClient {
// alice 的方式 redeem 并设 rootPass。
func (e *env) grantAliceProjectCreate(t *testing.T, rootCred string) {
t.Helper()
rootSecret := activationSecret(t, rootCred)
raw, err := os.ReadFile(rootCred)
if err != nil {
t.Fatal(err)
}
rootSecret := strings.TrimSpace(string(raw))
if rootSecret == "" {
t.Fatal("bootstrap-admin credential file is empty")
}
jar, err := cookiejar.New(nil)
if err != nil {
t.Fatal(err)