Skip to content

Fix some issues noticed with local deploy

Sign in for the full log view
GitHub Actions / Dotnet Test Results failed Jul 8, 2024 in 0s. View latest attempt.

1 fail, 10 954 pass in 24m 30s

    72 files      72 suites   24m 30s ⏱️
10 955 tests 10 954 ✅ 0 💤 1 ❌
25 806 runs  25 805 ✅ 0 💤 1 ❌

Results for commit 5915346.

Annotations

Check warning on line 0 in Bicep.Core.IntegrationTests.Emit.TemplateEmitterTests

See this annotation in the file changed.

@github-actions github-actions / Dotnet Test Results

1 out of 2 runs failed: ValidBicep_TemplateEmiterShouldProduceExpectedTemplate_Registry_LF (Bicep.Core.IntegrationTests.Emit.TemplateEmitterTests)

TestResults/_fv-az730-562_2024-07-08_20_53_08.trx [took 0s]
Raw output
Expected AssertionExtensions to be empty, but found {"[BCP190 (Error)] The artifact with reference "br:mock-registry-one.invalid/demo/plan:v2" has not been restored.", "[BCP190 (Error)] The artifact with reference "br:mock-registry-one.invalid/demo/plan:v2" has not been restored.", "[BCP062 (Error)] The referenced declaration with name "appPlanDeploy" is not valid.", "[BCP062 (Error)] The referenced declaration with name "appPlanDeploy" is not valid."}.   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Execution.GivenSelector`1.FailWith(String message, Object[] args)
   at FluentAssertions.Collections.GenericCollectionAssertions`3.BeEmpty(String because, Object[] becauseArgs)
   at Bicep.Core.UnitTests.Assertions.IDiagnosticCollectionAssertions.NotHaveErrors(String because, Object[] becauseArgs) in /home/runner/work/bicep/bicep/src/Bicep.Core.UnitTests/Assertions/IDiagnosticCollectionExtensions.cs:line 96
   at Bicep.Core.IntegrationTests.Emit.TemplateEmitterTests.ValidBicep_TemplateEmiterShouldProduceExpectedTemplate(DataSet dataSet) in /home/runner/work/bicep/bicep/src/Bicep.Core.IntegrationTests/Emit/TemplateEmitterTests.cs:line 64