Closed ribrdb closed 5 years ago
Hmm, I guess the CI is using an even older version of Bazel than I am. Should I update the rules to work with Bazel 0.9.0, or update the CI to use a newer version?
I've been trying to write a test using the firestore emulator, but I'm having lots of problems with it. It seems flaky. The same test case will sometimes pass, sometimes time out, or sometimes return a permission denied error. I guess for now I'll just add a golden file test.
Happy to take a look at a version that your experiencing flakiness with.
The emulator should be robust!
Happy to take a look at a version that your experiencing flakiness with.
The emulator should be robust!
https://github.com/ribrdb/protobuf-rules-gen/blob/emulator/example/rules_test.js
Thank you for your contribution!
Here's a first stab at adding the BUILD rules. I'm not sure if you'd want to update the integration test to build using these rules or keep it completely separate.
I didn't include using the firestore emulator here. There's two reasons for that:
Once the emulator jar is available I basically just use a jasmine_node_test and add this to start the emulator: