Skip to content

Commit

Permalink
fix(e2e): loosen up assertion on traffic route test (#11764)
Browse files Browse the repository at this point in the history
* fix(e2e): loosen up assertion on traffic route test

Signed-off-by: Marcin Skalski <[email protected]>

---------

Signed-off-by: Marcin Skalski <[email protected]>
  • Loading branch information
Automaat authored and kumahq[bot] committed Oct 14, 2024
1 parent 6420c84 commit 6c43f40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e_env/universal/trafficroute/traffic_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,16 @@ conf:
}, "30s", "500ms").Should(
And(
HaveLen(2),
<<<<<<< HEAD

Check failure on line 460 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected <<, expected expression
HaveKeyWithValue(MatchRegexp(`.*echo-v1.*`), BeNumerically("~", 2, 1)),
HaveKeyWithValue(MatchRegexp(`.*echo-v2.*`), BeNumerically("~", 8, 1)),
),

Check failure on line 463 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ), expected expression
)
=======

Check failure on line 465 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ==, expected }
HaveKey(`echo-v3`),
HaveKeyWithValue(`echo-v4`, BeNumerically("~", 80, 20)),
))

Check failure on line 468 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ), expected expression
>>>>>>> 915de62b3 (fix(e2e): loosen up assertion on traffic route test (#11764))

Check failure on line 469 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected >>, expected }

Check failure on line 469 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

invalid character U+0023 '#'
})

Check failure on line 470 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected ) after top level declaration

It("should modify path", func() {

Check failure on line 472 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

method has no receiver

Check failure on line 472 in test/e2e_env/universal/trafficroute/traffic_route.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected {, expected name
Expand Down

0 comments on commit 6c43f40

Please sign in to comment.