git » sdk » commit f164fd9

Even longer timeout for slow CI

author Stephen Paul Weber
2026-05-26 17:43:13 UTC
committer Stephen Paul Weber
2026-05-26 17:43:13 UTC
parent f766953dd6d6172f8cacbc075ef000746c276d4e

Even longer timeout for slow CI

test/TestSqlite.hx +25 -25

diff --git a/test/TestSqlite.hx b/test/TestSqlite.hx
index 4e407b2..279257a 100644
--- a/test/TestSqlite.hx
+++ b/test/TestSqlite.hx
@@ -89,7 +89,7 @@ class TestSqlite extends utest.Test {
 		persistence = new Sqlite("file:" + ID.unique() + "?mode=memory&cache=shared", mediaStore);
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testOrder(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -130,7 +130,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testMessagesBefore(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -256,7 +256,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testMessagesBeforePM(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -325,7 +325,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testMessagesAfter(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -382,7 +382,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testMessagesAfterPoint(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -519,7 +519,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreChats(async: Async) {
 		final account = "alice@example.com";
 		final chat = new DirectChat(cast null, cast null, persistence, "hatter@example.com");
@@ -546,7 +546,7 @@ class TestSqlite extends utest.Test {
 		}, 200);
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetMessage(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -577,7 +577,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreReaction(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -620,7 +620,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testUpdateMessageStatus(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -645,7 +645,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testSearchMessages(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -684,7 +684,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testRemoveAccount(async: Async) {
 		final account1 = "alice@example.com";
 		final account2 = "bob@example.com";
@@ -708,7 +708,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetChatUnreadDetails(async: Async) {
 		final account = "alice@example.com";
 		final chat = new DirectChat(cast null, cast null, persistence, "hatter@example.com");
@@ -749,7 +749,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testMedia(async: Async) {
 		final bytes = haxe.io.Bytes.ofString("hello").getData();
 		persistence.storeMedia("image/png", bytes).then(_ -> {
@@ -768,7 +768,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testHydrateReplyTo(async: Async) {
 		final account = "alice@example.com";
 		final builder = new ChatMessageBuilder();
@@ -836,7 +836,7 @@ class TestSqlite extends utest.Test {
 		}, 200);
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetChatsUsesMemberPresenceForDirectChats(async: Async) {
 		final account = "alice@example.com";
 		final chat = new DirectChat(cast null, cast null, persistence, "hatter@example.com");
@@ -876,7 +876,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetChatsHydratesMembersForNameAndMavUntil(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-chat-hydrate@example.com");
@@ -959,7 +959,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreStreamManamagementAndGetStreamManagement(async: Async) {
 		persistence.storeLogin("alice@example.com", "", "", null).then(_ ->
 			persistence.storeStreamManagement("alice@example.com", Bytes.ofHex("01020004").getData(), "ZZ")
@@ -973,7 +973,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetMembersHydratesPersistedMemberData(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-1@example.com");
@@ -1007,7 +1007,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreMemberUpdatesMergesExistingMemberData(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-2@example.com");
@@ -1049,7 +1049,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreMemberUpdatesClearsOmittedFullListAffiliations(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-2b@example.com");
@@ -1106,7 +1106,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testStoreMemberUpdatesMatchesExistingMemberByTrueJid(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-3@example.com");
@@ -1146,7 +1146,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testClearMemberPresenceOnlyClearsTargetedChat(async: Async) {
 		final account = "alice@example.com";
 		final chat1 = new Channel(cast null, cast null, persistence, "room-members-4a@example.com");
@@ -1198,7 +1198,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetMembersFiltersHiddenRowsForNonModerators(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-5@example.com");
@@ -1220,7 +1220,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetMembersIncludesModeratorVisibleRows(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-6@example.com");
@@ -1242,7 +1242,7 @@ class TestSqlite extends utest.Test {
 		});
 	}
 
-	@:timeout(2000)
+	@:timeout(3000)
 	public function testGetMemberDetailsReturnsNullForIncompleteRows(async: Async) {
 		final account = "alice@example.com";
 		final chat = new Channel(cast null, cast null, persistence, "room-members-7@example.com");