littlehorse-enterprises / littlehorse

This repository contains the code for the LittleHorse Server, Dashboard, CLI, and Java/Go/Python SDK's. Brought to you by LittleHorse Enterprises LLC
https://littlehorse.dev/
Other
66 stars 7 forks source link

chore(e2e): run tests in distributed mode #884

Closed coltmcnealy-lh closed 1 month ago

coltmcnealy-lh commented 1 month ago

Note that this causes a bunch of failures on localhost, implying that we have some race conditions and weaknesses in our server. Yikes!

coltmcnealy-lh commented 1 month ago

By refactoring the tests.yml file, we have cut the time for Validate Build on tests-server from 2 minutes and 34 seconds to 1 minute and 35 seconds.

We can also improve the time taken for the e2e once we get it running with parallel threads on a larger test runner.

coltmcnealy-lh commented 1 month ago

Alright, it's working now, and I fixed some rather unpleasant things that were happening in the server (including a tenant security vulnerability with awaitWorkflowEvent) but I think this should be an improvement overall.