diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-11-13 16:31:53 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-11-14 18:59:45 +0000 |
commit | 1c9d1de9bccebcf574c923937b34ef5705d4d0ed (patch) | |
tree | c63fb3066f679fdac57245f9472a20e4e0861594 /extras | |
parent | 1fe2501702c90ff3253dccfe72c34de21a41a9a8 (diff) |
http: state machine improvement
Split in two, one for rx and second for tx, which is more suitable for
http tunnels. Updated state names too, some of them were bit confusing.
Type: improvement
Change-Id: I2310deaa49196819f9d8147a5d9af188465dbd65
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/hs-test/http_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/hs-test/http_test.go b/extras/hs-test/http_test.go index 0e5d7e655be..902d6efacfc 100644 --- a/extras/hs-test/http_test.go +++ b/extras/hs-test/http_test.go @@ -136,7 +136,7 @@ func HttpPersistentConnectionTest(s *NoTopoSuite) { s.AssertHttpContentLength(resp, int64(0)) o1 := vpp.Vppctl("show session verbose proto http state ready") s.Log(o1) - s.AssertContains(o1, "ESTABLISHED") + s.AssertContains(o1, "established") req, err = http.NewRequest("GET", "http://"+serverAddress+":80/test1", nil) s.AssertNil(err, fmt.Sprint(err)) @@ -154,7 +154,7 @@ func HttpPersistentConnectionTest(s *NoTopoSuite) { s.AssertHttpBody(resp, "hello") o2 := vpp.Vppctl("show session verbose proto http state ready") s.Log(o2) - s.AssertContains(o2, "ESTABLISHED") + s.AssertContains(o2, "established") s.AssertEqual(o1, o2) req, err = http.NewRequest("GET", "http://"+serverAddress+":80/test2", nil) @@ -168,7 +168,7 @@ func HttpPersistentConnectionTest(s *NoTopoSuite) { s.AssertHttpBody(resp, "some data") o2 = vpp.Vppctl("show session verbose proto http state ready") s.Log(o2) - s.AssertContains(o2, "ESTABLISHED") + s.AssertContains(o2, "established") s.AssertEqual(o1, o2) } |