Skip to content

Commit

Permalink
Revert changes of test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Sep 18, 2024
1 parent a1ea988 commit fea4394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class CSVStorageTest extends StorageTest {
private static final String EXPECTED_FILES_DIR = "src/test/resources/test-data/csv-storage-test/";

public static List<Arguments> data() {
resetDate();
final var workersTask1 = List.of(
MockupWorker.createWorkers(0, 2, new MockupQueryHandler(0, 10), "test-connection-1", "v1.0.0", "test-dataset-1"),
MockupWorker.createWorkers(2, 2, new MockupQueryHandler(1, 10), "test-connection-2", "v1.1.0", "test-dataset-2")
Expand All @@ -39,7 +40,6 @@ public static List<Arguments> data() {
@ParameterizedTest
@MethodSource("data")
protected void testCSVStorage(List<TaskResult> results) throws IOException {
resetDate();
final var storage = new CSVStorage(tempDir.toString(), getMetrics(), "123");
for (var result : results)
storage.storeResult(result.resultModel());
Expand Down

0 comments on commit fea4394

Please sign in to comment.