Skip to content

Agent Mesh

test(integration): tighten oversized context ceilings

Antonio Ojea45e7fb71a6c6
diff --git a/tests/integration/controlplane_pubsub_integration_test.go b/tests/integration/controlplane_pubsub_integration_test.go
index b69b1408..adb0fc8d 100644
--- a/tests/integration/controlplane_pubsub_integration_test.go
+++ b/tests/integration/controlplane_pubsub_integration_test.go
@@ -33,7 +33,7 @@ import (
)
func TestControlPlanePubSubEventIntegration(t *testing.T) {
- ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
+ ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
tmpDir := t.TempDir()
diff --git a/tests/integration/pubsub_test.go b/tests/integration/pubsub_test.go
index f358cf28..240ad159 100644
--- a/tests/integration/pubsub_test.go
+++ b/tests/integration/pubsub_test.go
@@ -39,7 +39,7 @@ func TestPubSubTools(t *testing.T) {
}
t.Logf("Node 2 logs at: %s/node2.log", tmpHome2)
- ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
// Start Node 1