Browse Source

remove tyeDir from PurgeHostAndWaitForGivenReplicasToStop

pull/284/head
SimonCropp 6 years ago
committed by Ryan Nowak
parent
commit
72458a4fff
  1. 2
      test/E2ETest/TestHelpers.cs
  2. 4
      test/E2ETest/TyePurgeTests.cs

2
test/E2ETest/TestHelpers.cs

@ -123,7 +123,7 @@ namespace E2ETest
}
}
public static async Task PurgeHostAndWaitForGivenReplicasToStop(TyeHost host, string[] replicas, string tyeDir)
public static async Task PurgeHostAndWaitForGivenReplicasToStop(TyeHost host, string[] replicas)
{
static async Task Purge(TyeHost host)
{

4
test/E2ETest/TyePurgeTests.cs

@ -57,7 +57,7 @@ namespace E2ETest
Assert.Subset(new HashSet<int>(GetAllPids()), new HashSet<int>(pids));
await TestHelpers.PurgeHostAndWaitForGivenReplicasToStop(host,
GetAllReplicasNames(host.Application), tyeDir.FullName);
GetAllReplicasNames(host.Application));
var runningPids = new HashSet<int>(GetAllPids());
Assert.True(pids.All(pid => !runningPids.Contains(pid)));
@ -105,7 +105,7 @@ namespace E2ETest
new HashSet<string>(containers));
await TestHelpers.PurgeHostAndWaitForGivenReplicasToStop(host,
GetAllReplicasNames(host.Application), tyeDir.FullName);
GetAllReplicasNames(host.Application));
var runningPids = new HashSet<int>(GetAllPids());
Assert.True(pids.All(pid => !runningPids.Contains(pid)));

Loading…
Cancel
Save