MCPcopy Create free account
hub / github.com/PostHog/duckgres / newStringSecret

Function newStringSecret

controlplane/org_router_test.go:353–363  ·  view source on GitHub ↗
(namespace, name, key, value string)

Source from the content-addressed store, hash-verified

351 t.Fatalf("replacement creation after teardown: %v", result.err)
352 }
353 if result.finish == nil {
354 t.Fatal("replacement creation did not acquire the org mutation slot")
355 }
356 result.finish()
357 case <-time.After(time.Second):
358 t.Fatal("replacement creation did not resume after old stack teardown")
359 }
360}
361
362func TestOrgRouterShutdownDoesNotTeardownStackOwnedByConcurrentDestroy(t *testing.T) {
363 var shutdownCount atomic.Int32
364 pool := &recordingOrgRouterPool{shutdownCount: &shutdownCount}
365 stack := &OrgStack{Pool: pool}
366 router := &OrgRouter{

Calls

no outgoing calls

Tested by

no test coverage detected