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

Revamp remaining RTS DB tests #929

Merged
merged 2 commits into from
Oct 3, 2022
Merged

Revamp remaining RTS DB tests #929

merged 2 commits into from
Oct 3, 2022

Conversation

plajjan
Copy link
Contributor

@plajjan plajjan commented Oct 3, 2022

Rewrite the two remaining RTS DB test; the simple test app and the TCP client resume test in the style of the TCP server test, which I previously rewrote to use a new test orchestrator (written in Acton).

Pretty messy code, though it works and the tests execute very fast and print most relevant debug information if anything goes wrong.

I'm able to run many test iterations without problems!

Rewrite the two remaining RTS DB test; the simple test app and the TCP
client resume test in the style of the TCP server test, which I
previously rewrote to use a new test orchestrator (written in Acton).

Pretty messy code, though it works and the tests execute very fast and
print most relevant debug information if anything goes wrong.

I'm able to run many test iterations without problems!
Include the state when printing app output.
@plajjan
Copy link
Contributor Author

plajjan commented Oct 3, 2022

I'm a little stumped. After merging the first revamped test for the TCP server, I have had several failed PR test rounds where the test times out. I've run thousands of iterations on my machine which have worked just fine. There are some segfaults but they are rare (<1% which is less than what we had before)... in this PR I've added some better log output but also extended the timeout. Are the test machines so damn slow? A test run completes in <0.4 seconds on my machine and the timeout was 2 seconds. It's now 5 seconds...

@plajjan plajjan enabled auto-merge October 3, 2022 12:00
@plajjan plajjan merged commit 778fea3 into main Oct 3, 2022
@plajjan plajjan deleted the revamp-db-tests branch October 3, 2022 12:03
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

1 participant