X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a18005f8b35a68b4fcd9ccdf76832b28e564289c..093ec98e4a065acfc537ea22c08c337c115fe273:/sdk/cwl/tests/test_fsaccess.py diff --git a/sdk/cwl/tests/test_fsaccess.py b/sdk/cwl/tests/test_fsaccess.py index d52e948710..f83612a8b0 100644 --- a/sdk/cwl/tests/test_fsaccess.py +++ b/sdk/cwl/tests/test_fsaccess.py @@ -36,34 +36,34 @@ class TestFsAccess(unittest.TestCase): cache = CollectionCache(mock.MagicMock(), mock.MagicMock(), 4) cr().manifest_text.return_value = 'x' * 524289 self.assertEqual(0, cache.total) - c1 = cache.get("99999999999999999999999999999991+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c1 = cache.get("99999999999999999999999999999991+524289") + self.assertIn("99999999999999999999999999999991+524289", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*1, cache.total) - c2 = cache.get("99999999999999999999999999999992+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c2 = cache.get("99999999999999999999999999999992+524289") + self.assertIn("99999999999999999999999999999991+524289", cache.collections) + self.assertIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*2, cache.total) - c1 = cache.get("99999999999999999999999999999991+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c1 = cache.get("99999999999999999999999999999991+524289") + self.assertIn("99999999999999999999999999999991+524289", cache.collections) + self.assertIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*2, cache.total) - c3 = cache.get("99999999999999999999999999999993+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c3 = cache.get("99999999999999999999999999999993+524289") + self.assertIn("99999999999999999999999999999991+524289", cache.collections) + self.assertIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*3, cache.total) - c4 = cache.get("99999999999999999999999999999994+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c4 = cache.get("99999999999999999999999999999994+524289") + self.assertIn("99999999999999999999999999999991+524289", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*3, cache.total) - c5 = cache.get("99999999999999999999999999999995+99") - self.assertNotIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c5 = cache.get("99999999999999999999999999999995+524289") + self.assertNotIn("99999999999999999999999999999991+524289", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524289", cache.collections) self.assertEqual((524289*128)*3, cache.total) @@ -72,37 +72,37 @@ class TestFsAccess(unittest.TestCase): cache = CollectionCache(mock.MagicMock(), mock.MagicMock(), 4) cr().manifest_text.return_value = 'x' * 524287 self.assertEqual(0, cache.total) - c1 = cache.get("99999999999999999999999999999991+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c1 = cache.get("99999999999999999999999999999991+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*1, cache.total) - c2 = cache.get("99999999999999999999999999999992+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c2 = cache.get("99999999999999999999999999999992+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*2, cache.total) - c1 = cache.get("99999999999999999999999999999991+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c1 = cache.get("99999999999999999999999999999991+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*2, cache.total) - c3 = cache.get("99999999999999999999999999999993+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c3 = cache.get("99999999999999999999999999999993+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*3, cache.total) - c4 = cache.get("99999999999999999999999999999994+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertIn("99999999999999999999999999999992+99", cache.collections) + c4 = cache.get("99999999999999999999999999999994+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*4, cache.total) - c5 = cache.get("99999999999999999999999999999995+99") - self.assertIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c5 = cache.get("99999999999999999999999999999995+524287") + self.assertIn("99999999999999999999999999999991+524287", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*4, cache.total) - c6 = cache.get("99999999999999999999999999999996+99") - self.assertNotIn("99999999999999999999999999999991+99", cache.collections) - self.assertNotIn("99999999999999999999999999999992+99", cache.collections) + c6 = cache.get("99999999999999999999999999999996+524287") + self.assertNotIn("99999999999999999999999999999991+524287", cache.collections) + self.assertNotIn("99999999999999999999999999999992+524287", cache.collections) self.assertEqual((524287*128)*4, cache.total)