Comments (15)
from ruby-docs-samples.
I'll review errors after my next meeting. If you have time @bshaffer, I'd appreciate your help!
from ruby-docs-samples.
@broady I started trying to address the issues in PR#211, and haven't completed this task. I'll see if I can green the tests. I'd like to introduce kokoro into the repo, but I haven't prioritized that. I'll see how far I get with fixing tests before I venture down that path.
If you have tips on how to best deal with this state I'd appreciate your input. Thank you!
from ruby-docs-samples.
sounds good. i have a lot of things learned from deflaking the Go tests that I should share. a few things:
- retries within the tests
- using a project pool for proper resource segregation (I can help set this up)
- aggressive cleanup, aided by the project pool
- deterministic resource names, aided by the project pool
but it looks like there's a bunch of low hanging fruit for these ones. for example, it looks like the spanner db's aren't being cleaned up.
from ruby-docs-samples.
Thanks Chris,
- Updated Spanner tests to be deterministic
- Added waiting before asserting an expectation on a logging.
- Updated Gemfile.lock files (need to do this automatically in the future as this is done locally and using a PR).
- Added additional Ruby versions to test on.
- Fixed a few small errors in a few other samples that made it into the repo.
I'm waiting for tests to finish to get an idea of where CircleCI is now. If you could help with proper resource segregation that would be awesome!
from ruby-docs-samples.
Added retries to the following sample tests:
Storage
Pubsub
Datastore
Logging
Next item will be to add kokoro support unless we should introduce project resource pools first? @broady
from ruby-docs-samples.
Status update: Master passed. Pubsub passed after retries kicked in when testing Ruby 2.4.2. Flaky test is pulls a message
.
from ruby-docs-samples.
Nice! Let's leave it at that for now.
from ruby-docs-samples.
Sg!
from ruby-docs-samples.
@broady, I recalled that AppEngine e2e tests are not being tested at the moment. The tests currently timeout CircleCI before completing. Reviewing in a follow-up PR.
from ruby-docs-samples.
Ran e2e tests: https://circleci.com/gh/GoogleCloudPlatform/ruby-docs-samples/1225
I think this is a good reason to move over to kokoro as the e2e tests timeout CircleCI. An alternative is to split tests into multiple CircleCI nodes.
from ruby-docs-samples.
Do the e2e tests run in parallel?
from ruby-docs-samples.
from ruby-docs-samples.
@tbpg, could you provide an update here, or close if this is resolved? thanks!
from ruby-docs-samples.
@broady progress is being tracked here: #251
from ruby-docs-samples.
Related Issues (20)
- rspec: Google Cloud Spanner Database roles List database roles failed HOT 1
- rspec: Metadata server on Google App Engine displays IP address read from metadata server failed HOT 6
- Fix code scanning alert - Fix regular expression for hostnames
- Update samples dependencies to latest versions
- Update samples to rails 7
- rspec: Metadata server on Google App Engine displays zone read from metadata server failed HOT 6
- rspec: Spanner database JSON datatype add_json_column_update_and_query_data failed HOT 1
- index.ipynb.txt
- rspec: E2E tests Can make request to service failed HOT 2
- rspec: Cloud Storage can upload and get public URL of uploaded file failed HOT 15
- rspec: Websockets Sample returns HTML failed HOT 15
- rspec: Websockets Sample responds to chat failed HOT 15
- rspec: Cloud Storage can upload and get public URL of uploaded file failed HOT 1
- rspec: Ruby Endpoints Sample POST failed HOT 1
- rspec: PubSub accepts a push failed
- rspec: PubSub accepts an authenticated push failed
- rspec: Metadata server on Google App Engine displays IP address read from metadata server failed HOT 2
- rspec: Metadata server on Google App Engine displays zone read from metadata server failed HOT 4
- rspec: Google Cloud Spanner API samples query nested struct field failed HOT 1
- rspec: Google Cloud Spanner API samples query data with index failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-docs-samples.