Skip to content

Commit

Permalink
disabling cosmos emulator and tests (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettsam committed Mar 22, 2023
1 parent d3822f2 commit ca81bb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
buildConfiguration: 'Release'

steps:
- pwsh: . "tools/start-emulators.ps1" -NoWait
- pwsh: . "tools/start-emulators.ps1" -NoWait -SkipCosmosDBEmulator
displayName: "Start emulators (-NoWait)"

- template: ../build/install-dotnet.yml
Expand All @@ -61,7 +61,8 @@ jobs:
}
./setup-e2e-tests.ps1 -FunctionsRuntimeVersion $env:FUNCTIONSRUNTIMEVERSION `
-UseCoreToolsBuildFromIntegrationTests:$useIntegrationTestingCoreTools `
-SkipBuildOnPack
-SkipBuildOnPack `
-SkipCosmosDBEmulator
displayName: "Setup E2E tests"
- task: DotNetCoreCLI@2
Expand Down
2 changes: 1 addition & 1 deletion test/E2ETests/E2ETests/CosmosDBEndToEndTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public CosmosDBEndToEndTests(FunctionAppFixture fixture, ITestOutputHelper testO
_disposeLog = _fixture.TestLogs.UseTestLogger(testOutput);
}

[Fact]
[Fact(Skip = "Need to debug why Cosmos emulator does not always start.")]
public async Task CosmosDBTriggerAndOutput_Succeeds()
{
string expectedDocId = Guid.NewGuid().ToString();
Expand Down

0 comments on commit ca81bb7

Please sign in to comment.