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

Cleanup #52

Merged
merged 9 commits into from
Jun 2, 2020
Merged

Cleanup #52

merged 9 commits into from
Jun 2, 2020

Conversation

trachten
Copy link
Owner

Some cleanup of code style and efficiency ... more to come later.

Copy link
Collaborator

@novakboskov novakboskov left a comment

Choose a reason for hiding this comment

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

It looks good. Just a couple of questions.

@@ -50,7 +50,7 @@ void CommSocketTest::SocketSendAndReceiveTest() {
//If socketSendReceiveTest() has finished successfully then kill child and break out of the loop
if(result == 0) {
CPPUNIT_FAIL("Sockets did not establish a connection in time");
kill(timer_pid, 0);
// kill(timer_pid, 0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We let the parent process to gracefully finish?
Can we delete this commented line?

Copy link
Owner Author

Choose a reason for hiding this comment

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

sure

@@ -57,5 +57,8 @@ void CuckooSyncTest::setReconcileTest() {
// together because the execution trace picks up ZZ_p::init() call
// before it reaches syncTest helper function.
ZZ_p::init(randZZ());
CPPUNIT_ASSERT(syncTest(client, server, false, false, false, false, false));

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK. I will look through it more thoroughly.
Just wondering, did this happen to you after I fixed Cuckoo::prng?

Copy link
Owner Author

Choose a reason for hiding this comment

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

don't know ... but I don't think so

@trachten
Copy link
Owner Author

trachten commented Jun 1, 2020 via email

@novakboskov novakboskov merged commit 325f538 into master Jun 2, 2020
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.

2 participants