Skip to content

Commit

Permalink
Update testcases with duplicate routes
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Abdelrahman <[email protected]>
  • Loading branch information
MustafaSaber committed Nov 28, 2023
1 parent 6df46c7 commit dbbe504
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
kube_rg__default__myapp__all__0_0:
Host("^(app[.]example[.]org[.]?(:[0-9]+)?|example[.]org[.]?(:[0-9]+)?)$")
&& Path("/app")
-> <roundRobin, "http://10.2.4.8:80", "http://10.2.4.16:80">;

kube_rg____app_example_org__catchall__0_0: Host("^(app[.]example[.]org[.]?(:[0-9]+)?)$") -> <shunt>;
kube_rg____example_org__catchall__0_0: Host("^(example[.]org[.]?(:[0-9]+)?)$") -> <shunt>;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
duplicate host \\\"app\.example\.org\\\"
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
kube_rg__default__myapp__all__0_0: Path("/articles") && Host(/^(example[.]org[.]?(:[0-9]+)?)$/)
-> <roundRobin, "http://10.2.9.103:7272", "http://10.2.9.104:7272">;

kube_rg__default__myapp__all__1_0: Path("/articles/shoes") && Host(/^(example[.]org[.]?(:[0-9]+)?)$/)
-> <roundRobin, "http://10.2.9.103:7272", "http://10.2.9.104:7272">;

kube_rg__default__myapp__all__2_0: Path("/order") && Host(/^(example[.]org[.]?(:[0-9]+)?)$/)
-> <roundRobin, "http://10.2.9.103:7272", "http://10.2.9.104:7272">;

kube_rg____example_org__catchall__0_0: Host(/^(example[.]org[.]?(:[0-9]+)?)$/)
-> <shunt>;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
duplicate host \\\"example\.org\\\"

0 comments on commit dbbe504

Please sign in to comment.