-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Split JetStream cluster tests again #5332
Conversation
Try to keep jetstream_cluster_3_test.go to just under 8 minutes and move the trail end to new jetstream_cluster_4_test.go. Notice that this file contains a test that itself takes more than 6 minutes to run. I checked without `-race` and it takes about as much. The test is: ``` TestJetStreamClusterStreamOrphanMsgsAndReplicasDrifting ``` I understand it does a lot of things, but wonder if it could be made a bit faster? @wallyqs I believe you have worked on that one? Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@derekcollison I did what you asked, but the new "4" test file is already at 8+ minutes. This is because it contains the test aforementioned that takes 6+ minutes to run. If this test cannot be made way shorter, it is almost like it deserves its own matrix run, or in other words, we need already to start a "5" test file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Thanks Ivan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@derekcollison Just to be clear, we leave as-is and @wallyqs will see if it can make the test shorter, or do I - part of this PR - make the file "4" contain only the long running test and add a file "5" with some of the tail tests that used to be in "3"? |
Leave as is for now.. |
Try to keep jetstream_cluster_3_test.go to just under 8 minutes and move the trail end to new jetstream_cluster_4_test.go.
Notice that this file contains a test that itself takes more than 6 minutes to run. I checked without
-race
and it takes about as much. The test is:I understand it does a lot of things, but wonder if it could be made a bit faster? @wallyqs I believe you have worked on that one?
Signed-off-by: Ivan Kozlovic ivan@synadia.com