|
15 | 15 | 069:15:24 Anders (onboard): It looks like a big - looks like a big beach down there.
|
16 | 16 | '''
|
17 | 17 |
|
| 18 | +CONCURRENCY_FLAG = '--concurrency=1' |
| 19 | + |
18 | 20 |
|
19 | 21 | def compute_checksum(filename):
|
20 | 22 | hash_md5 = hashlib.md5()
|
@@ -51,7 +53,7 @@ class KeyfileTest(TestDirMixin, TestCase):
|
51 | 53 |
|
52 | 54 | def test_round_trip(self):
|
53 | 55 | # encrypt our sample files
|
54 |
| - enc = self.run_command(self.encryption_flag, self.tiny_sample, self.another_sample) |
| 56 | + enc = self.run_command(self.encryption_flag, self.tiny_sample, self.another_sample, CONCURRENCY_FLAG) |
55 | 57 | manifest_name = glob(path.join(self.working_dir.name, '*.mfn'))[0]
|
56 | 58 |
|
57 | 59 | # ordered lexicographically by filename
|
@@ -167,7 +169,7 @@ def test_consistency_fs_input(self):
|
167 | 169 | def test_absolute_paths(self):
|
168 | 170 | # encrypt our sample files, saving their absolute paths in the manifest
|
169 | 171 | enc = self.run_command(
|
170 |
| - self.encryption_flag, self.tiny_sample, self.another_sample, '--store-absolute-paths' |
| 172 | + self.encryption_flag, self.tiny_sample, self.another_sample, '--store-absolute-paths', CONCURRENCY_FLAG |
171 | 173 | )
|
172 | 174 | manifest_name = glob(path.join(self.working_dir.name, '*.mfn'))[0]
|
173 | 175 |
|
@@ -213,7 +215,7 @@ def test_absolute_paths(self):
|
213 | 215 | def test_glob_input_directory(self):
|
214 | 216 | # encrypt our sample files, saving their absolute paths in the manifest
|
215 | 217 | enc = self.run_command(
|
216 |
| - self.encryption_flag, self.input_dir.name, '--store-absolute-paths' |
| 218 | + self.encryption_flag, self.input_dir.name, '--store-absolute-paths', CONCURRENCY_FLAG |
217 | 219 | )
|
218 | 220 | manifest_name = glob(path.join(self.working_dir.name, '*.mfn'))[0]
|
219 | 221 |
|
@@ -250,7 +252,7 @@ def test_manifest_index_ordering(self):
|
250 | 252 | We sort the blobs stored in the manifest index, to limit information about which blobs belong together.
|
251 | 253 | '''
|
252 | 254 | # encrypt our sample files
|
253 |
| - enc = self.run_command(self.encryption_flag, self.tiny_sample, self.another_sample) |
| 255 | + enc = self.run_command(self.encryption_flag, self.tiny_sample, self.another_sample, CONCURRENCY_FLAG) |
254 | 256 | manifest_name = glob(path.join(self.working_dir.name, '*.mfn'))[0]
|
255 | 257 |
|
256 | 258 | self.assertEqual(enc, [
|
|
0 commit comments