Model a case where there is no concurrency while uploading.
()
| 93 | |
| 94 | |
| 95 | def test_simple_upload(): |
| 96 | """Model a case where there is no concurrency while uploading.""" |
| 97 | group = worker.WalTransferGroup(FakeWalUploader()) |
| 98 | seg = FakeWalSegment('1' * 8 * 3, explicit=True) |
| 99 | group.start(seg) |
| 100 | group.join() |
| 101 | |
| 102 | assert success(seg) |
| 103 | |
| 104 | |
| 105 | def test_multi_upload(): |
nothing calls this directly
no test coverage detected