Skip to content

Commit

Permalink
Enable all but getAvailableFile
Browse files Browse the repository at this point in the history
  • Loading branch information
alyokaz committed Aug 30, 2023
1 parent fe4de54 commit 7893410
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/intergration/IntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class IntegrationTest {

private static final String FILENAME_2 = "test_file_2.mp4";

//@Test
@Test
public void canSeedAndReceiveFile() throws IOException {
File file = getFile(FILENAME);
AKTorrent server = new AKTorrent(NODE_A_PORT);
Expand All @@ -51,7 +51,7 @@ public void canSeedAndReceiveFile() throws IOException {
server.shutDown();
}

//@Test
@Test
public void canDownloadFromTwoPeers() throws IOException {
File file = getFile(FILENAME);

Expand Down Expand Up @@ -83,7 +83,7 @@ public void canDownloadFromTwoPeers() throws IOException {

}

//@Test
@Test
public void canDownloadFromMultiplePeers() throws IOException {
final int minPort = 4444;
final int maxPort = minPort + 10;
Expand All @@ -109,7 +109,7 @@ public void canDownloadFromMultiplePeers() throws IOException {
nodes.forEach(AKTorrent::shutDown);
}

@Test
//@Test
public void getAvailableFiles() throws InterruptedException {
File testFileA = getFile(FILENAME);
File testFileB = getFile(FILENAME_2);
Expand Down

0 comments on commit 7893410

Please sign in to comment.