Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC-1.2 : default_tests.go #3258

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package ni_address_families_test

import (
"fmt"
"slices"
"testing"
"time"

Expand Down Expand Up @@ -103,6 +104,7 @@ var (
IPv6Len: 64,
MAC: "02:00:02:01:01:01",
}
kneDeviceModelList = []string{"ncptx"}
cprabha marked this conversation as resolved.
Show resolved Hide resolved
)

// TestDefaultAddressFamilies verifies that both IPv4 and IPv6 are enabled by default without a need for additional
Expand Down Expand Up @@ -181,6 +183,14 @@ func TestDefaultAddressFamilies(t *testing.T) {
otgutils.WaitForARP(t, ate.OTG(), top, "IPv4")
otgutils.WaitForARP(t, ate.OTG(), top, "IPv6")

// https://github.com/openconfig/featureprofiles/issues/3410
// Below code will be removed once ixia issue is fixed.
if slices.Contains(kneDeviceModelList, dut.Model()) {
ate.OTG().StartTraffic(t)
time.Sleep(15 * time.Second)
ate.OTG().StopTraffic(t)
}

ate.OTG().StartTraffic(t)
time.Sleep(15 * time.Second)
ate.OTG().StopTraffic(t)
Expand Down
Loading