Abdhesh Kumar
Abdhesh Kumar
In my use case, I have an application that uses MongoDB connection with username/passwords internally so when I run integration tests then I have to pass the username/password with database...
It's just a request, It would be nice if we could fix this issue with `MongoDbContainer` otherwise whoever wants to connect to mongo testcontrainer using credentials then there is no...
> @abdheshkumar , I faced the same problem and found 2 solutions: > > 1. Use `GenericContainer` as mentioned before: > `GenericContainer mongoDBContainer = new GenericContainer(MONGODB_IMAGE) .withExposedPorts(MONGODB_PORT) .withEnv("MONGO_INITDB_ROOT_USERNAME", "testuser") .withEnv...
@ykrautsou I think option 2 is not working. ``` Exception in thread "main" org.testcontainers.containers.ContainerLaunchException: Container startup failed at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311) Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at...
@kiview Here is complete logs ``` 2022-02-20T10:07:03.074+0000 I CONTROL [main] ***** SERVER RESTARTED ***** 2022-02-20T10:07:03.076+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' 2022-02-20T10:07:03.083+0000...
@kiview I don't have any problem using `GenericContainer` I am just wondering that would be the use of `MongoDBContainer`. Is it something like If someone wants to connect with mongo...
@kiview Another thing is, we have written a small wrapper on top of `MongoDBContainer` which is widely used in my company. If we want to use `GenericContainer` then I have...
@Luegg Thanks for quick reply. No, scope.$watch calling two times when i used it in separate directive(in parent directive). When i used in child directive it's calling multiple times and...