Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelvillard committed Feb 8, 2023
1 parent 1e47c2b commit 81870cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/syncer/spec/spec_process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ func TestSpecSyncerProcess(t *testing.T) {
toResources: []runtime.Object{
namespace("kcp-33jbiactwhg0", "", map[string]string{
"internal.workload.kcp.io/cluster": "6ohB8yeXhwqTQVuBzJRgqcRJTpRjX7yTZu5g5g",
"kcp.io/tenant-id": "9Fn3Q4y5UDPmCOrYCujwdgCbD9SwOcKdcefYE7",
},
map[string]string{
"kcp.io/namespace-locator": `{"syncTarget":{"cluster":"root:org:ws","name":"us-west1","uid":"syncTargetUID"},"cluster":"root:org:ws","namespace":"test"}`,
Expand Down Expand Up @@ -775,6 +776,7 @@ func TestSpecSyncerProcess(t *testing.T) {
toResources: []runtime.Object{
namespace("kcp-33jbiactwhg0", "", map[string]string{
"internal.workload.kcp.io/cluster": "6ohB8yeXhwqTQVuBzJRgqcRJTpRjX7yTZu5g5g",
"kcp.io/tenant-id": "9Fn3Q4y5UDPmCOrYCujwdgCbD9SwOcKdcefYE7",
},
map[string]string{
"kcp.io/namespace-locator": `{"syncTarget":{"cluster":"root:org:ws","name":"us-west1","uid":"syncTargetUID"},"cluster":"root:org:ws","namespace":"test"}`,
Expand Down Expand Up @@ -833,6 +835,7 @@ func TestSpecSyncerProcess(t *testing.T) {
toResources: []runtime.Object{
namespace("kcp-33jbiactwhg0", "", map[string]string{
"internal.workload.kcp.io/cluster": "6ohB8yeXhwqTQVuBzJRgqcRJTpRjX7yTZu5g5g",
"kcp.io/tenant-id": "9Fn3Q4y5UDPmCOrYCujwdgCbD9SwOcKdcefYE7",
},
map[string]string{
"kcp.io/namespace-locator": `{"syncTarget":{"cluster":"root:org:ws","name":"us-west1","uid":"syncTargetUID"},"cluster":"root:org:ws","namespace":"test"}`,
Expand Down

0 comments on commit 81870cb

Please sign in to comment.