Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix flaky test
  • Loading branch information
Dref360 committed Nov 27, 2018
commit 1bc99f6a465fb7d9fe50ba0e8dd2b44aae549051
2 changes: 1 addition & 1 deletion tests/keras/engine/test_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def gen_data():
max_queue_size=1)
assert trained_epochs == [0, 1, 2, 3, 4]
assert trained_batches == list(range(12)) * 5
assert 12 * 5 <= len(val_seq.logs) <= (12 * 5) + 1 # the queue may be full.
assert 12 * 5 <= len(val_seq.logs) <= (12 * 5) + 2 # the queue may be full.

# test for workers = 0
trained_epochs = []
Expand Down