Skip to content
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

fix test cases #211

Merged
merged 1 commit into from
Sep 27, 2021
Merged

fix test cases #211

merged 1 commit into from
Sep 27, 2021

Conversation

jgheewala
Copy link
Contributor

package golib/sfxclient currently is taking close to 30s for running
all test cases. This fix will reduce the testing time to ~4s.

Other packages have minor tune ups reducing testing time in order of
milliseconds.

There is no test case for golib/trace/format as it is auto-generated code
and golib/logkey as it contains only global variables. So removing both the
packages from go list output in travis.yml file.

golib doesn't use t.Parallel in any of the test suites and hence -parallel flag
is removed from go test arguments list

Copy link
Contributor

@keitwb keitwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for one small thing.

One thing to try if you haven't already is to run it repeatedly with -count 100 or something locally which would help verify this doesn't introduce any flaky tests.

package golib/sfxclient currently is taking close to 30s for running
all test cases. This fix will reduce the testing time to ~4s.

Other packages have minor tune ups reducing testing time in order of
milliseconds.

There is no test case for golib/trace/format as it is auto-generated code
and golib/logkey as it contains only global variables. So removing both the
packages from go list output in travis.yml file.

golib doesn't use t.Parallel in any of the test suites and hence -parallel flag
is removed from go test arguments list
@jgheewala jgheewala changed the title fix test cases & travis config fix test cases Sep 27, 2021
@jgheewala jgheewala merged commit 67fdcbf into master Sep 27, 2021
@atoulme atoulme deleted the fix_it_speedup_test_cases branch January 5, 2023 06:27
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.

None yet

2 participants