Skip to content

Commit

Permalink
Skip AwsLambdaTests on Debian too
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Oct 18, 2023
1 parent 2c3d04d commit ebd6929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tracer/build/_build/docker/debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ RUN if [ "$(uname -m)" = "x86_64" ]; \
COPY . /build
RUN dotnet build /build
WORKDIR /project

ENV IsDebian=true
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public AwsLambdaTests(ITestOutputHelper output)
[Trait("Category", "Lambda")]
public async Task SubmitsTraces()
{
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("IsAlpine")))
if (Environment.GetEnvironmentVariable("IsAlpine") == "true" || Environment.GetEnvironmentVariable("IsDebian") == "true")
{
Output.WriteLine("Skipping");
return;
Expand Down

0 comments on commit ebd6929

Please sign in to comment.