gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [gora] drazzib opened a new pull request #206: GORA-647 Use Testcontainers for MongoDB integration tests
Date Sat, 21 Mar 2020 22:44:33 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message