You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment where the error occurred (Vagrant VM and site conf mode or AWS instance):
Steps to reproduce
Please list all the actions and the input data used:
Move the actual test functionality into its own function
Run that function inside a while-true loop inside the actual test until it fails
Observed behavior
The test test_get_with_study_uuid_returns_file_uuid_field fails randomly because the order of nodes serialized/returned is non-deterministic
This causes the first_node to sometimes be a node lacking a file_uuid field.
Error Traceback (most recent call last): File "/vagrant/refinery/data_set_manager/test_views.py", line 815, in test_get_with_study_uuid_returns_file_uuid_field self.get_with_study_uuid_returns_file_uuid_field() File "/vagrant/refinery/data_set_manager/test_views.py", line 830, in get_with_study_uuid_returns_file_uuid_field raise e AttributeError: 'NoneType' object has no attribute 'uuid'
Expected behavior
The test should always pass
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Please list all the actions and the input data used:
Observed behavior
first_node
to sometimes be a node lacking afile_uuid
field.Error Traceback (most recent call last): File "/vagrant/refinery/data_set_manager/test_views.py", line 815, in test_get_with_study_uuid_returns_file_uuid_field self.get_with_study_uuid_returns_file_uuid_field() File "/vagrant/refinery/data_set_manager/test_views.py", line 830, in get_with_study_uuid_returns_file_uuid_field raise e AttributeError: 'NoneType' object has no attribute 'uuid'
Expected behavior
The text was updated successfully, but these errors were encountered: