-
Notifications
You must be signed in to change notification settings - Fork 693
Create a test rule for Spanner emulator #2318
Comments
@dmitry-s have a few questions regarding to this. As far as I can see, there is
|
Hi @eddumelendez , At this point, Cloud Spanner Emulator set up and start is a multi step process, as it requires installing components of gcloud, installing docker, and also configuring gcloud and creating instances. Because of that I am not sure if we can/should create a rule for Cloud Spanner Emulator. @meltsufin what do you think? |
@dmitry-s Docker is only required on Mac and Windows. |
would it make sense to combine this work w/ @eddumelendez 's Testcontainer modules? https://github.com/eddumelendez/testcontainers-java/tree/gcloud/modules/gcloud/src/main/java/org/testcontainers/containers |
@saturnism The test containers look pretty cool! However, we're providing emulator support here without the use of containers (except for Spanner). |
Testcontainers is the way to go for all emulators. We should not be providing separate support; the way I did it for Pub/Sub is more fragile (relies on finding PID, keeps track of subprocesses. meh.) |
The rule should automatically start and stop the emulator.
The text was updated successfully, but these errors were encountered: