From 399760677434d83b105ec6741e85ff2e78935789 Mon Sep 17 00:00:00 2001 From: Athou Date: Sat, 15 Jun 2024 08:42:03 +0200 Subject: [PATCH] looks like sometimes the websocket connection is not established on github actions, refresh the tree with an interval smaller than the timeout of playwright --- .../src/test/java/com/commafeed/integration/rest/ServerIT.java | 2 +- commafeed-server/src/test/resources/config.test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commafeed-server/src/test/java/com/commafeed/integration/rest/ServerIT.java b/commafeed-server/src/test/java/com/commafeed/integration/rest/ServerIT.java index 5ec64966..d3586800 100644 --- a/commafeed-server/src/test/java/com/commafeed/integration/rest/ServerIT.java +++ b/commafeed-server/src/test/java/com/commafeed/integration/rest/ServerIT.java @@ -16,7 +16,7 @@ public class ServerIT extends BaseIT { Assertions.assertTrue(serverInfos.isDemoAccountEnabled()); Assertions.assertTrue(serverInfos.isWebsocketEnabled()); Assertions.assertEquals(900000, serverInfos.getWebsocketPingInterval()); - Assertions.assertEquals(30000, serverInfos.getTreeReloadInterval()); + Assertions.assertEquals(10000, serverInfos.getTreeReloadInterval()); } } diff --git a/commafeed-server/src/test/resources/config.test.yml b/commafeed-server/src/test/resources/config.test.yml index 8f8cd081..3768ab03 100644 --- a/commafeed-server/src/test/resources/config.test.yml +++ b/commafeed-server/src/test/resources/config.test.yml @@ -89,7 +89,7 @@ app: websocketPingInterval: 15m # if websocket is disabled or the connection is lost, the client will reload the feed tree at this interval - treeReloadInterval: 30s + treeReloadInterval: 10s # Database connection # -------------------