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 808863f427.

* Revert "fix e2e builds"

This reverts commit eb351e7d31.

* Revert "fix it"

This reverts commit 9e99dac94f.

* Revert "lock it"

This reverts commit 1a3c60ad41.

* different approach

* better

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
This commit is contained in:
Nishant Das
2022-08-05 21:01:47 +08:00
committed by GitHub
parent ea93a68818
commit 9261da7fb1
19 changed files with 170 additions and 134 deletions

View File

@@ -1,24 +1,22 @@
diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
index a88ebcc9..f23b0dfb 100644
index 1dfd1555..eeffefca 100644
--- a/go/private/rules/test.bzl
+++ b/go/private/rules/test.bzl
@@ -185,7 +185,7 @@ def _go_test_impl(ctx):
@@ -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(
@@ -439,8 +439,8 @@ _go_test_kwargs = {
@@ -447,7 +447,7 @@ _go_test_kwargs = {
""",
}
-go_test = rule(**_go_test_kwargs)
-go_transition_test = go_transition_rule(**_go_test_kwargs)
+go_test = rule(**go_test_kwargs)
+go_transition_test = go_transition_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.