-
Notifications
You must be signed in to change notification settings - Fork 228
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
Z3 timeout #855
Z3 timeout #855
Conversation
4a9b41c
to
55a9823
Compare
High-level LGTM. Most of the code gets the settings by calling Reviewed 10 of 10 files at r1. tests/basic/z3timeout.ref, line 11 at r1 (raw file):
This test is brittle -- it's going to require updating the ref anytime code changes (Batfish.java line numbers, for example). I think there's a different test that simply expects an error, try to find that one? tests/java-smt/commands, line 143 at r1 (raw file):
why not 1ms? Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. tests/basic/z3timeout.ref, line 11 at r1 (raw file): Previously, dhalperi (Dan Halperin) wrote…
Aha, looks like the ref file isn't checked for tests/java-smt/commands, line 143 at r1 (raw file): Previously, dhalperi (Dan Halperin) wrote…
good idea Comments from Reviewable |
55a9823
to
cab9e67
Compare
Reasonably straightforward for questions based on NodJob and CompositeNodJob, e.g. reachability. Pretty messy for minesweeper questions based on PropertyChecker, since it didn't have access to a Settings object. It would be nice to be able to get at the Settings object from IBatfish, but the project layout doesn't allow that (IBatfish is in batfish-common-protocol, Settings is in batfish).
cab9e67
to
3c8b8ab
Compare
Reviewed 4 of 4 files at r2. Comments from Reviewable |
Comments from Reviewable |
Added a batfish setting for Z3's
timeout
parameter. Passed it to Z3 in Minesweeper'sPropertyChecker
and Batfish'sNodJob
andCompositNodJob
classes. Had to add some plumbing to get the Settings object toPropertyChecker
.This change is