Skip to content

Commit

Permalink
[#206] Make test results consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn authored and alanking committed Nov 10, 2023
1 parent fceeec0 commit 67a2185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/test_plugin_unified_storage_tiering.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ def test_storage_tiering_sets_admin_keyword_when_updating_access_time_as_rodsadm
access_time = out.strip()
self.assertGreater(len(access_time), 0)

# sleeping guarantees the access time will be different following the call to irepl.
sleep(2)

# show the access time is updated correctly.
lib.create_ufs_resource(admin_session, resc_name)
admin_session.assert_icommand(f'irepl -M -R {resc_name} {alice_session.home_collection}/{filename}')
Expand Down

0 comments on commit 67a2185

Please sign in to comment.