From d236fe6ceacbaed598697e46069e3873ecdc6e69 Mon Sep 17 00:00:00 2001 From: benbierens Date: Wed, 26 Apr 2023 15:32:27 +0200 Subject: [PATCH] Merge parallel-upload-download tests --- Tests/BasicTests/DownloadTests.cs | 4 ++-- Tests/BasicTests/UploadTests.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/BasicTests/DownloadTests.cs b/Tests/BasicTests/DownloadTests.cs index bba4da1..e26ec7f 100644 --- a/Tests/BasicTests/DownloadTests.cs +++ b/Tests/BasicTests/DownloadTests.cs @@ -24,8 +24,8 @@ namespace Tests.ParallelTests void ParallelDownload(int numberOfNodes, ByteSize filesize) { - var group = SetupCodexNodes(numberOfNodes).BringOnline(); - var host = SetupCodexNodes(1).BringOnline()[0]; + var group = SetupCodexNodes(numberOfNodes); + var host = SetupCodexNode(); foreach (var node in group) { diff --git a/Tests/BasicTests/UploadTests.cs b/Tests/BasicTests/UploadTests.cs index a603524..5562170 100644 --- a/Tests/BasicTests/UploadTests.cs +++ b/Tests/BasicTests/UploadTests.cs @@ -23,8 +23,8 @@ namespace Tests.ParallelTests } void ParallelUpload(int numberOfNodes, ByteSize filesize) { - var group = SetupCodexNodes(numberOfNodes).BringOnline(); - var host = SetupCodexNodes(1).BringOnline()[0]; + var group = SetupCodexNodes(numberOfNodes); + var host = SetupCodexNode(); foreach (var node in group) {