Skip to content

Commit

Permalink
Skip ExecuteAsync_ApiGatewayEmulator_SuccessfulLaunch test while we i…
Browse files Browse the repository at this point in the history
…nvestigate its flaky behavior
  • Loading branch information
normj committed Feb 7, 2025
1 parent 384d453 commit b748889
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ public class RunCommandTests
private readonly Mock<IToolInteractiveService> _mockInteractiveService = new Mock<IToolInteractiveService>();
private readonly Mock<IRemainingArguments> _mockRemainingArgs = new Mock<IRemainingArguments>();

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_LambdaRuntimeApi_SuccessfulLaunch()
{
// Arrange
Expand All @@ -45,7 +49,11 @@ public async Task ExecuteAsync_LambdaRuntimeApi_SuccessfulLaunch()
Assert.True(isApiRunning);
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_ApiGatewayEmulator_SuccessfulLaunch()
{
// Arrange
Expand All @@ -70,7 +78,11 @@ public async Task ExecuteAsync_ApiGatewayEmulator_SuccessfulLaunch()
Assert.True(isApiRunning);
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task ExecuteAsync_EnvPorts_SuccessfulLaunch()
{
var lambdaPort = TestHelpers.GetNextLambdaRuntimePort();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ public async Task AddEventToDataStore()
}
}

#if DEBUG
[Fact]
#else
[Fact(Skip = "Skipping this test as it is not working properly.")]
#endif
public async Task InvokeRequestResponse()
{
const string functionName = "FunctionFoo";
Expand Down

0 comments on commit b748889

Please sign in to comment.