From 42e1fe83c759e02bd431c2ec57a91f55059b384c Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 10 Mar 2026 08:55:32 +0300 Subject: [PATCH] test: check and clean up correctpath Signed-off-by: NotAShelf Change-Id: Id14f80297f3e157ebcf5b2612220cd4b6a6a6964 --- test/integration_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration_test.go b/test/integration_test.go index 3bc7220..9121e43 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -195,6 +195,9 @@ func TestEndToEnd_GracefulShutdown(t *testing.T) { MaxSources: 50, MaxCustomEvents: 10, }, + Server: config.ServerConfig{ + StatePath: "/tmp/watchdog-test.state", + }, } pathRegistry := aggregate.NewPathRegistry(cfg.Limits.MaxPaths) @@ -223,12 +226,12 @@ func TestEndToEnd_GracefulShutdown(t *testing.T) { } // Verify state file was created - if _, err := os.Stat("/tmp/watchdog-hll.state"); os.IsNotExist(err) { + if _, err := os.Stat("/tmp/watchdog-test.state"); os.IsNotExist(err) { t.Error("HLL state file was not created") } // Cleanup - os.Remove("/tmp/watchdog-hll.state") + os.Remove("/tmp/watchdog-test.state") } func TestEndToEnd_InvalidRequests(t *testing.T) {