Tricium plugin still keeps sending requests when all analyzers are done |
||
Issue descriptionThis was supposed to be done in https://crrev.com/c/909994, but isn't actually done yet. I just realized that this is because we clear the update timer when updating the state, but then immediately set it again in the then() clause of client.getProgress. Related: I also suspect that some other aspects of the behavior may not be quite right -- I'm not sure but I think the update timer will not be set again after increasing the timeout interval if there's an error from Tricium. The test should be improved.
,
Mar 28 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/gerrit-plugins/buildbucket/+/be01d2edc97b5e5ece4ff7009a46eb485170ffd9 commit be01d2edc97b5e5ece4ff7009a46eb485170ffd9 Author: Quinten Yearsley <qyearsley@chromium.org> Date: Wed Mar 28 17:53:05 2018 Buildbucket plugin: clarify timeout on error unit test This CL changes that and modifies the test, and changes the console.error to a console.warn so that the test behaves as expected. This was necessary because in the unit test environment, console.error throws an exception. Bug: 825272 Change-Id: I9bf1bada1c0de4ad850faba654d10af50a814d8d Reviewed-on: https://chromium-review.googlesource.com/978606 Reviewed-by: Nodir Turakulov <nodir@chromium.org> [modify] https://crrev.com/be01d2edc97b5e5ece4ff7009a46eb485170ffd9/test/cr-buildbucket-view_test.html [modify] https://crrev.com/be01d2edc97b5e5ece4ff7009a46eb485170ffd9/src/main/resources/static/cr-buildbucket-view.js
,
Apr 13 2018
Verified. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Mar 28 2018