Skip to content

Commit 68f9ab9

Browse files
committed
resolving UTs
1 parent 02f8e34 commit 68f9ab9

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/VirtualClient/VirtualClient.Actions.UnitTests/Redis/RedisExecutorTests.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,13 @@ public void RedisExecutorThrowsOnUnsupportedDistroAsync()
6767
}
6868
}
6969

70-
[Test]
71-
[TestCase(PlatformID.Unix, Architecture.X64)]
72-
public void RedisExecutorDoesnotThrowOnSupportedPLatform(PlatformID platform, Architecture architecture)
73-
{
74-
this.SetupDefaultMockBehavior(platform, architecture);
75-
using (TestRedisExecutorExecutor executor = new TestRedisExecutorExecutor(this.fixture.Dependencies, this.fixture.Parameters))
76-
{
77-
Exception exception = Assert.ThrowsAsync<Exception>(
78-
() => executor.ExecuteAsync(CancellationToken.None));
79-
}
80-
}
81-
8270
private void SetupDefaultMockBehavior(PlatformID platformID)
8371
{
8472
this.fixture.Setup(platformID);
8573
this.fixture.File.Setup(f => f.Exists(It.IsAny<string>())).Returns(true);
8674
this.fixture.ProcessManager.OnCreateProcess = (cmd, args, wd) => this.fixture.Process;
8775
}
76+
8877
private void SetupDefaultMockBehavior(PlatformID platformID, Architecture architecture)
8978
{
9079
this.fixture.Setup(platformID, architecture);

0 commit comments

Comments
 (0)