From dc47b09329a52ea7a7e788d74aca0874cecc94ab Mon Sep 17 00:00:00 2001 From: Alex Leong Date: Sat, 19 Aug 2023 01:16:38 +0000 Subject: [PATCH] Additional changes Signed-off-by: Alex Leong --- .github/workflows/integration.yml | 3 +++ .../multicluster/multicluster-traffic/pod_to_pod_test.go | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3240945b303d0..740228017e249 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -384,6 +384,9 @@ jobs: just linkerd-tag='${{ needs.tag.outputs.tag }}' \ k3d-k8s='${{ matrix.k8s }}' \ mc-test-load + - name: Run just mc-flat-network-init + run: | + just mc-flat-network-init - name: Run just mc-test-run run: | just linkerd-tag='${{ needs.tag.outputs.tag }}' \ diff --git a/test/integration/multicluster/multicluster-traffic/pod_to_pod_test.go b/test/integration/multicluster/multicluster-traffic/pod_to_pod_test.go index 39998fdd0285a..28e7659eedf39 100644 --- a/test/integration/multicluster/multicluster-traffic/pod_to_pod_test.go +++ b/test/integration/multicluster/multicluster-traffic/pod_to_pod_test.go @@ -12,13 +12,13 @@ import ( kerrors "k8s.io/apimachinery/pkg/api/errors" ) -// TestTargetTraffic inspects the target cluster's web-svc pod to see if the +// TestPodToPodTraffic inspects the target cluster's web-svc pod to see if the // source cluster's vote-bot has been able to hit it with requests. If it has // successfully issued requests, then we'll see log messages indicating that the // web-svc can't reach the voting-svc (because it's not running). // -// TODO it may be clearer to invoke `linkerd diagnostics proxy-metrics` to check whether we see -// connections from the gateway pod to the web-svc? +// We verify that the service has been mirrored in remote discovery mode by +// checking that it had no endpoints in the source cluster. func TestPodToPodTraffic(t *testing.T) { if err := TestHelper.SwitchContext(contexts[testutil.TargetContextKey]); err != nil { testutil.AnnotatedFatalf(t,