Skip to content

Commit 3681b2a

Browse files
committed
Bump the frequency for the opcode arg test and make assertion more resilient
1 parent c6bf834 commit 3681b2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_integration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,11 @@ def test_progress_handler_opcode_arg
527527
first_count = progress_calls.size
528528

529529
progress_calls = []
530-
@db.progress_handler(4, handler)
530+
@db.progress_handler(10, handler)
531531
@db.execute "create table test2(a, b)"
532532
second_count = progress_calls.size
533533

534-
assert_operator first_count, :>, second_count
534+
assert_operator first_count, :>=, second_count
535535
end
536536

537537
def test_progress_handler_interrupts_operation

0 commit comments

Comments
 (0)