Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Test containers for integration testing - phase 1 #3472

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Merge branch 'master' into Feature/TestContainers

e42747d
Select commit
Loading
Failed to load commit list.
Open

Implemented Test containers for integration testing - phase 1 #3472

Merge branch 'master' into Feature/TestContainers
e42747d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Ginger Mac Build failed Mar 22, 2024 in 5m 31s

Build #20240322.15 had test failures

Details

Tests

  • Failed: 3 (0.42%)
  • Passed: 653 (92.49%)
  • Other: 50 (7.08%)
  • Total: 706

Annotations

Check failure on line 404 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Ginger Mac Build

Build log #L404

Bash exited with code '1'.

Check failure on line 1 in GingerCoreNETUnitTest.DatabaseTest.PostgreSqlIntegrationTests.ShouldReturnTwoCustomers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Ginger Mac Build

GingerCoreNETUnitTest.DatabaseTest.PostgreSqlIntegrationTests.ShouldReturnTwoCustomers

Class Initialization method GingerCoreNETUnitTest.DatabaseTest.PostgreSqlIntegrationTests.ClassInitialize threw exception. System.ArgumentException: System.ArgumentException: Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured. You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/ (Parameter 'DockerEndpointAuthConfig').
Raw output
   at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause)
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate()
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate()
   at Testcontainers.PostgreSql.PostgreSqlBuilder.Validate()
   at Testcontainers.PostgreSql.PostgreSqlBuilder.Build()
   at GingerCoreNETUnitTest.DatabaseTest.PostgreSqlIntegrationTests..cctor() in /Users/runner/work/1/s/Ginger/GingerCoreNETUnitTest/DatabaseTest/PostgreSqlIntegrationTests.cs:line 14

Check failure on line 1 in GingerCoreNETUnitTest.DatabaseTest.OracleIntegrationTests.ShouldReturnTwoCustomers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Ginger Mac Build

GingerCoreNETUnitTest.DatabaseTest.OracleIntegrationTests.ShouldReturnTwoCustomers

Class Initialization method GingerCoreNETUnitTest.DatabaseTest.OracleIntegrationTests.ClassInitialize threw exception. System.ArgumentException: System.ArgumentException: Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured. You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/ (Parameter 'DockerEndpointAuthConfig').
Raw output
   at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause)
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate()
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate()
   at Testcontainers.Oracle.OracleBuilder.Validate()
   at Testcontainers.Oracle.OracleBuilder.Build()
   at GingerCoreNETUnitTest.DatabaseTest.OracleIntegrationTests..cctor() in /Users/runner/work/1/s/Ginger/GingerCoreNETUnitTest/DatabaseTest/OracleIntegrationTests.cs:line 15

Check failure on line 1 in GingerCoreNETUnitTest.DatabaseTest.CouchbaseIntegrationTests.ShouldReturnTwoCustomers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Ginger Mac Build

GingerCoreNETUnitTest.DatabaseTest.CouchbaseIntegrationTests.ShouldReturnTwoCustomers

Class Initialization method GingerCoreNETUnitTest.DatabaseTest.CouchbaseIntegrationTests.ClassInitialize threw exception. System.ArgumentException: System.ArgumentException: Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured. You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/ (Parameter 'DockerEndpointAuthConfig').
Raw output
   at DotNet.Testcontainers.Guard.ThrowIf[TType](ArgumentInfo`1& argument, Func`2 condition, Func`2 ifClause)
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate()
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate()
   at Testcontainers.Couchbase.CouchbaseBuilder.Build()
   at GingerCoreNETUnitTest.DatabaseTest.CouchbaseIntegrationTests..cctor() in /Users/runner/work/1/s/Ginger/GingerCoreNETUnitTest/DatabaseTest/CouchbaseIntegrationTests.cs:line 18