Skip to content

Commit

Permalink
Make test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardDrummer committed Sep 12, 2023
1 parent 282a0ec commit 5e499c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ requires p > 0 && q > 0
}
}".TrimStart();

protected string SlowToVerifyNoLimit => SlowToVerify.Replace(" {:rlimit 100}", "");

protected readonly string NeverVerifies = @"
lemma {:neverVerify} HasNeverVerifyAttribute(p: nat, q: nat)
ensures true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ public async Task ApplyChangeBeforeVerificationFinishes() {
method test() {
assert false;
}
".TrimStart() + SlowToVerify;
".TrimStart() + SlowToVerifyNoLimit;
await SetUp(options => options.Set(BoogieOptionBag.Cores, 1U));
var documentItem = CreateTestDocument(source, "ApplyChangeBeforeVerificationFinishes.dfy");
client.OpenDocument(documentItem);
Expand Down

0 comments on commit 5e499c2

Please sign in to comment.