I am using Testcontainers to load a Dockerized database to be used for my Spring Boot application for integration testing. I currently an using an initialization script to load all of the data: CREATE TABLE public.table1 ( … … ); CREATE TABLE public.table2 ( … … ); This is all working fine. I also have ..
The Goal Run integration tests but stub sub requests to a specific domain that occur within the api code itself Ideally do this via docker-compose The attempt I’m using the mockttp library as outlined here to create a proxy server that allows all traffic to pass through untouched with the exception of one specific domain ..
We are using PostGIS database in our app and want to use the same for our integration test cases which are run by the maven-failsafe-plugin. I want to pull the database image from Nexus repo and make the database up in the pre-integration phase, so that it can be used in the test cases. I ..
Hi I have integration test with docker using test containers. On container I run jms. In test I am putting message on queue. How I can wait in test to make it populated on jms? On local machine it works, but on jenkins it fails, so I have to add Thread.sleep(3000); but this is nasty. ..
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> ..
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 ..
I am building a go test package that I would like to have included in a Docker image. The binary can be built using bazel build //testing/e2e:e2e_test. This creates a binary in the bazel_bin folder. Now I would like to take this binary and add it to a docker image… container_image( name = "image", base ..
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 ..
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 ..
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 ..