Skip to content

Commit 22d5b14

Browse files
authored
Merge pull request #286 from elieser1101/ginkgo-flags-node-e2e-tester
add ginkgo-flags to node tester
2 parents b64611b + 9f385d2 commit 22d5b14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/testers/node/node.go

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ type Tester struct {
5353
SkipRegex string `desc:"Regular expression of jobs to skip."`
5454
FocusRegex string `desc:"Regular expression of jobs to focus on."`
5555
TestArgs string `desc:"A space-separated list of arguments to pass to node e2e test."`
56+
LabelFilter string `desc:"Label filter arguments to be passed to ginkgo."`
5657
BoskosAcquireTimeoutSeconds int `desc:"How long (in seconds) to hang on a request to Boskos to acquire a resource before erroring."`
5758
BoskosHeartbeatIntervalSeconds int `desc:"How often (in seconds) to send a heartbeat to Boskos to hold the acquired resource. 0 means no heartbeat."`
5859
BoskosLocation string `desc:"If set, manually specifies the location of the boskos server. If unset and boskos is needed"`
@@ -267,6 +268,7 @@ func (t *Tester) constructArgs() []string {
267268
"USE_DOCKERIZED_BUILD=" + strconv.FormatBool(t.UseDockerizedBuild),
268269
"TARGET_BUILD_ARCH=" + t.TargetBuildArch,
269270
"TIMEOUT=" + t.Timeout.String(),
271+
"LABEL_FILTER=" + t.LabelFilter,
270272
}
271273
if t.RuntimeConfig != "" {
272274
argsFromFlags = append(argsFromFlags, "RUNTIME_CONFIG="+t.RuntimeConfig)

0 commit comments

Comments
 (0)