drazzib opened a new pull request #206: GORA-647 Use Testcontainers for MongoDB 
integration tests
URL: https://github.com/apache/gora/pull/206
 
 
   - Update `gora-mongodb/pom.xml` to use testcontainers    
       * Remove `de.flapdoodle.embed.mongo` dependency
       * Remove `mongo.embed.version` property
       * Add `org.testcontainers` dependency
   - Create `MongoContainer` and it as a JUnit `@ClassRule`
   - Add new test for MongoDB 4.2
   - Refactor `GoraMongodbTestDriver`  
       * Provided container (passed in constructor) to configure Gora properties
   - Update `gora-benchmark/pom.xml` to depends on `gora-mongodb:test-jar`
       We can import MongoContainer in GoraClientTest
       (with fixed MongoDB port on localhost)
   - Refactor `GoraMongodbAuthenticationTestDriver`
       * Use MongoDB docker container feature to initialize superuser (via 
environment variables)
       * Pass `--auth` and `--setParameter authenticationMechanisms` as commands
       * Use mongo shell CLI - inside container - to execute script

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to