Category : integration-testing

I have integration tests for my asp.net core 3.1 app which runs HostedService. As a part of integrations tests process, I want to build a docker container before tests start. I tried to add following command in test project config : <Target Name="Test" AfterTargets="Build"> <Exec command="docker run –rm -p 3030:3030 -v $PWD/mocks:/app/mocks dotronglong/faker:stable" /> </Target> ..

Read more

I’m deploying Java 11 REST API to GKE using GitHub, Gradle, and Docker. The following errors are only happened on Google Cloud Build, not on the local environment. According to the error, it seems the app can’t find the DB server(Google Cloud SQL) from Google Cloud Build. I tried both public and private IP, but ..

Read more

There is a project consisting of two jar artifacts (grpc services) that packaged into corresponding Docker containers Each of them specifies root project as parent and included to parent project with pom packaging as sub-modules Both containers are built with fabric8io/docker-maven-plugin and have their own integration tests using failsafe plugin. Is there possibility in Maven ..

Read more

I am trying to use Azurite for my testing environment , I added it to the docker compose file , and it worked fine, code below : azurite: image: mcr.microsoft.com/azure-storage/azurite container_name: test-azurite ports: – ‘10001:10001’ – ‘10000:10000’ I need to use a custom storage account name other than the default one "devstoreaccount1" , so I ..

Read more

I would like to implement integration tests featuring Metaflow flows; i.e. running a flow from start to finish within a Docker container; and ideally this wouldn’t require substantial rewriting of the flows which contain @batch decorators on specific steps. On the s3 side I can achieve this by setting up a local s3 mocking server ..

Read more