Skip to content

WBP-9499 Create Performance Test Suite #4335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 16 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Desperately trying to make the tests work
  • Loading branch information
akshaymankar authored and battermann committed Nov 20, 2024
commit 863825eb721aecee486e3516fe37da8fcc28e2c1
10 changes: 5 additions & 5 deletions integration/test/MLS/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,11 @@ consumingMessages mlsProtocol mp = Codensity $ \k -> do
map (,MLSNotificationMessageTag) (toList oldClients)
<> map (,MLSNotificationWelcomeTag) (toList newClients)

let newUsers =
Set.delete mp.sender.user $
Set.difference
(Set.map (.user) newClients)
(Set.map (.user) oldClients)
-- let newUsers =
-- Set.delete mp.sender.user $
-- Set.difference
-- (Set.map (.user) newClients)
-- (Set.map (.user) oldClients)
withWebSockets (map fst clients) $ \wss -> do
r <- k ()

Expand Down
2 changes: 1 addition & 1 deletion integration/test/Testlib/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ runTests tests mXMLOutput cfg = do
runCodensity (mkGlobalEnv cfg) $ \genv ->
withAsync displayOutput $ \displayThread -> do
-- Currently 4 seems to be stable, more seems to create more timeouts.
report <- fmap mconcat $ pooledForConcurrentlyN 4 tests $ \(qname, _, _, action) -> do
report <- fmap mconcat $ pooledForConcurrentlyN 16 tests $ \(qname, _, _, action) -> do
(mErr, tm) <- withTime (runTest genv action)
case mErr of
Left err -> do
Expand Down