Skip to content

Commit

Permalink
Increase process_events time to try and solve CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoster17 committed Dec 1, 2023
1 parent 9203ef8 commit 11eeadd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions glue_qt/viewers/table/tests/test_data_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def test_table_incompatible_attribute():
sg1 = dc.new_subset_group('invalid', d1.id['x'] <= 3)

gapp.show()
process_events()
process_events(0.5)

assert len(viewer.layers) == 2
assert viewer.layers[0].visible
Expand All @@ -491,7 +491,7 @@ def test_table_incompatible_attribute():
# This subset can be shown in the viewer
sg2 = dc.new_subset_group('valid', d2.id['a'] == 'a')

process_events()
process_events(0.5)

assert len(viewer.layers) == 3
assert viewer.layers[0].visible
Expand All @@ -504,7 +504,7 @@ def test_table_incompatible_attribute():
# the invalid subset
viewer.layers[0].visible = False

process_events()
process_events(0.5)

assert not viewer.layers[0].visible
assert not viewer.layers[1].visible
Expand All @@ -516,7 +516,7 @@ def test_table_incompatible_attribute():

sg3 = dc.new_subset_group('invalid', d1.id['y'] > 6)

process_events()
process_events(0.5)

assert len(viewer.layers) == 4
assert not viewer.layers[0].visible
Expand All @@ -529,7 +529,7 @@ def test_table_incompatible_attribute():

sg1.subset_state = d2.id['b'] == 'b'

process_events()
process_events(0.5)

assert len(viewer.layers) == 4
assert not viewer.layers[0].visible
Expand Down

0 comments on commit 11eeadd

Please sign in to comment.