Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vanadium-js-browser-integration is flaky #518

Closed
tatatodd opened this issue May 28, 2015 · 4 comments
Closed

vanadium-js-browser-integration is flaky #518

tatatodd opened this issue May 28, 2015 · 4 comments
Assignees

Comments

@tatatodd
Copy link

The following test is flaky when run in presubmit. Flaky as in it'll sporadically fail, and will succeed when re-run without changing anything in my CLs.

javascript.browser.[test/integration/test-server-serve.js].Test serving a JS service under multiple names - runtime.addName(name), runtime.removeName(name).#754 should not be able to bind to a removed name

https://veyron.corp.google.com/jenkins/job/vanadium-presubmit-test/ARCH=amd64,OS=linux,TEST=vanadium-js-browser-integration/7633/

18:11:58 not ok 754 should not be able to bind to a removed name
18:11:58 ---
18:11:58 operator: fail
18:11:58 at: Test.assert (http://0.0.0.0:7559/assets/run.js:8097:17)
18:11:58 ...

@afandria
Copy link

@bprosnitz has started to look at this.

@bjornick
Copy link

bjornick commented Jun 2, 2015

It looks like removeName returns before the name is removed from the mounttable.

@tatatodd is this expected behavior?

@ghost
Copy link

ghost commented Jun 2, 2015

I think Cos recently made the server methods reliably async. Before they were sometimes synchronous and sometimes async.

@bprosnitz
Copy link
Member

The "fix" in my branch is just add a 100ms delay so the test passes. I
haven't had a chance to look into how to make it work correctly yet.

On Wed, Jun 3, 2015 at 3:50 AM Matt Rosencrantz notifications@github.com
wrote:

I think Cos recently made the server methods reliably async. Before they
were sometimes synchronous and sometimes async.


Reply to this email directly or view it on GitHub
#518 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants