commit | c9894f60c6fa55bf4a93f6aaf9ea35f1e08f7486 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue Dec 12 21:02:28 2023 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Mon Dec 18 21:43:29 2023 +0000 |
tree | 0dd49c623c8696f53110abaab5ca610597f6389d | |
parent | 308c272a09bc4dce8a0a4308b4b484a074e16f01 [diff] |
ConfigurationTest: Remove flaky invalidTargetArchiveFolder test This test is failing when running gerrit test in docker image with root user. It's also failing when remote build execution is used (BuildBuddy provider). It seems to rely on the fact that the exception is thrown: java.nio.file.FileSystemException: /\\\: Operation not permitted However when the test is executed with BuildBuddy RBE that exception is not raised and as a consequence of that the test ends up failing. It looks that the folder /\\\ is created in the remote executor. While it could be fixed with: exec_properties = { "dockerUser": "nobody", }, we prefer not to complicate our build toolchain and rather remove the test. Change-Id: I51bccdf2cb19559690d3d88bd92cf60bc28f5fcd
A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.
For running unit tests execute:
bazel test --test_output=all //plugins/delete-project/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/delete-project/web:lint_test bazel run //plugins/delete-project/web:lint_bin -- --fix "$(pwd)/plugins/delete-project/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/delete-project/web:gr-delete-repo cp -f bazel-bin/plugins/delete-project/web/gr-delete-repo.js plugins/
and let the Dev Helper redirect from .+/plugins/delete-project/static/gr-delete-repo.js
to http://localhost:8081/plugins_/gr-delete-repo.js
.