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

Refactoring of sequence testing code #299

Merged
merged 7 commits into from
Apr 19, 2022
Merged

Conversation

grafnu
Copy link
Collaborator

@grafnu grafnu commented Apr 19, 2022

Should be functionality neutral -- no new tests or capabilities.

*
* @param args What to do!
* @param args This is the way
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What? I wasn't planning on anybody actually reading my comments... that's not fair! (But updated to something more sensical)

info("Updated state has last_config " + getTimestamp(
((State) converted).system.last_config));
} else {
warning("Unknown update type " + converted.getClass().getSimpleName());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this severe enough?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated

warning("Not resetting config b/c trace is enabled.");
recordMessages = false;
if (debugLogLevel()) {
warning("Not resetting config because debug is enabled.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

It isn't clear at first glance why you don't reset the config in this case. Can you add a comment to quickly spell it out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated the warning message itself to clarify why

@grafnu grafnu merged commit 69ed615 into faucetsdn:master Apr 19, 2022
@grafnu grafnu deleted the tinfra branch April 19, 2022 20:11
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