X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b73985d8a0c9173aec57f6a81fe540b2813a5bff..b3fe30840e96e7fa77de047fae2488d703a49d89:/services/fuse/tests/test_token_expiry.py diff --git a/services/fuse/tests/test_token_expiry.py b/services/fuse/tests/test_token_expiry.py index 415f9bbc48..e082e525c5 100644 --- a/services/fuse/tests/test_token_expiry.py +++ b/services/fuse/tests/test_token_expiry.py @@ -35,6 +35,11 @@ class TokenExpiryTest(IntegrationTest): @mock.patch('arvados.keep.KeepClient.get') @IntegrationTest.mount(argv=['--mount-by-id', 'zzz']) def test_refresh_old_manifest(self, mocked_get, mocked_time, mocked_open): + # This test (and associated behavior) is still not strong + # enough. We should ensure old tokens are never used even if + # blobSignatureTtl seconds elapse between open() and + # read(). See https://dev.arvados.org/issues/10008 + mocked_get.return_value = 'fake data' mocked_time.side_effect = self.fake_time mocked_open.side_effect = self.fake_open