From 470b512a884c8c5984fed33c59de91eed92efb0f Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 2 Jan 2023 16:14:12 +0000 Subject: [PATCH] fix CLI tests (#590) --- tests/CLITests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CLITests.hs b/tests/CLITests.hs index 1834bf6e5..6111a10fd 100644 --- a/tests/CLITests.hs +++ b/tests/CLITests.hs @@ -51,7 +51,7 @@ smpServerTest storeLog basicAuth = do lookupValue "INACTIVE_CLIENTS" "disconnect" ini `shouldBe` Right "off" doesFileExist (cfgPath <> "/ca.key") `shouldReturn` True r <- lines <$> capture_ (withArgs ["start"] $ (100000 `timeout` smpServerCLI cfgPath logPath) `catchAll_` pure (Just ())) - r `shouldContain` ["SMP server v4.0.0"] + r `shouldContain` ["SMP server v4.1.0"] r `shouldContain` (if storeLog then ["Store log: " <> logPath <> "/smp-server-store.log"] else ["Store log disabled."]) r `shouldContain` ["Listening on port 5223 (TLS)..."] r `shouldContain` ["not expiring inactive clients"]