Skip to content

Conversation

@lyang24
Copy link

@lyang24 lyang24 commented Feb 4, 2025

t.Run("GEOADD + GEORANGE randomized test", func(t *testing.T) {

This is the long tail running test in go geo accounting for 98% of test runtime. This test needs an isolated server to be safely run in parallel (due to other cases doing adds and deletes).

This pr refactor to isolate this test and makes it run in parallel with isolation.
past ci run
ok github.com/apache/kvrocks/tests/gocase/unit/geo 226.507s
current ci run with change
ok github.com/apache/kvrocks/tests/gocase/unit/geo 123.485s

Touches: #2642

@lyang24 lyang24 force-pushed the optimize_geo_go_test branch from 36a335b to 93243f9 Compare February 4, 2025 05:48
@lyang24 lyang24 changed the title ci: isolate geoadd and georange test and run them in parallel ci: isolate geoadd and georange test and run it in parallel Feb 4, 2025
@lyang24 lyang24 force-pushed the optimize_geo_go_test branch from 93243f9 to 0fc2cd0 Compare February 4, 2025 06:41
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2025

@git-hulk git-hulk merged commit 1cf3709 into apache:unstable Feb 4, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants