Skip to content

Commit 4822573

Browse files
VSuryaprasad-HCLparmarkj
authored andcommitted
[sdn_tests]: Adding GNMI inband sw interface dual switch LoopbackInCnts test. (sonic-net#12951)
* [sdn_tests]: Adding Installation test to pins_ondatra. * [sdn_tests]: Adding inband sw interface dual switch test to pins_ondatra. * [sdn_tests]: Adding GNMI inband sw interface dual switch LoopbackInCnts test.
1 parent a2ac4c6 commit 4822573

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

sdn_tests/pins_ondatra/tests/inband_sw_interface_dual_switch_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ func mockConfigPush(t *testing.T) {
110110
calledMockConfigPush = true
111111
}
112112
<<<<<<< HEAD
113+
<<<<<<< HEAD
114+
=======
115+
>>>>>>> [sdn_tests]: Adding GNMI inband sw interface dual switch LoopbackInCnts test. (#12951)
113116

114117
// Tests start here.
115118
func TestMain(m *testing.M) {
@@ -165,7 +168,11 @@ func TestGNMIInbandSwLoopbackInCnts(t *testing.T) {
165168
Version: 4,
166169
TTL: 64,
167170
Protocol: layers.IPProtocolTCP,
171+
<<<<<<< HEAD
168172
SrcIP: net.ParseIP("10.10.20.30").To4(),
173+
=======
174+
SrcIP: net.ParseIP("2.2.2.2").To4(),
175+
>>>>>>> [sdn_tests]: Adding GNMI inband sw interface dual switch LoopbackInCnts test. (#12951)
169176
DstIP: net.ParseIP(configuredIPv4Path).To4(),
170177
}
171178
tcp := &layers.TCP{
@@ -237,6 +244,7 @@ func TestGNMIInbandSwLoopbackInCnts(t *testing.T) {
237244

238245
t.Logf("\n\n----- TestGNMIInbandSwLoopbackInCnts: SUCCESS after %v Iteration(s) -----\n\n", i)
239246
}
247+
<<<<<<< HEAD
240248

241249
// TestGNMIInbandSwLoopbackOutCnts - Check Loopback0 out-traffic counters
242250
func TestGNMIInbandSwLoopbackOutCnts(t *testing.T) {
@@ -360,3 +368,5 @@ func TestGNMIInbandSwLoopbackOutCnts(t *testing.T) {
360368
}
361369
=======
362370
>>>>>>> [sdn_tests]: Adding inband sw interface dual switch test to pins_ondatra. (#12946)
371+
=======
372+
>>>>>>> [sdn_tests]: Adding GNMI inband sw interface dual switch LoopbackInCnts test. (#12951)

0 commit comments

Comments
 (0)