prysm-pulse/third_party/io_bazel_rules_go_test.patch
Nishant Das 9261da7fb1
Update E2E (#11140)
* save progress

* tidy

* Update go.yml

* make CI happy

* gosec

* revert back

* Update go.yml

* change go version

* remove fixed test case

* fix ci

* fix updates

* fix up

* fix race tests

* fix bad mock

* lock it

* fix it

* fix e2e builds

* use gotags

* Revert "use gotags"

This reverts commit 808863f427399723a3e7e2b70bcc4771d108e8e6.

* Revert "fix e2e builds"

This reverts commit eb351e7d319b13fea2642271390e1f2863fc6d72.

* Revert "fix it"

This reverts commit 9e99dac94f68538e0cd3f8958b7f10f1fe433b26.

* Revert "lock it"

This reverts commit 1a3c60ad41b76c651af2d64edff2eaf864ad64ec.

* different approach

* better

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-08-05 13:01:47 +00:00

23 lines
673 B
Diff

diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
index 1dfd1555..eeffefca 100644
--- a/go/private/rules/test.bzl
+++ b/go/private/rules/test.bzl
@@ -187,7 +187,7 @@ def _go_test_impl(ctx):
testing.TestEnvironment(env),
]
-_go_test_kwargs = {
+go_test_kwargs = {
"implementation": _go_test_impl,
"attrs": {
"data": attr.label_list(
@@ -447,7 +447,7 @@ _go_test_kwargs = {
""",
}
-go_test = rule(**_go_test_kwargs)
+go_test = rule(**go_test_kwargs)
def _recompile_external_deps(go, external_source, internal_archive, library_labels):
"""Recompiles some archives in order to split internal and external tests.