From ad967d50477990914624407d01a448a8ddef250b Mon Sep 17 00:00:00 2001 From: bel Date: Sun, 26 Mar 2023 09:23:20 -0600 Subject: [PATCH] test a longer input and its k --- src/device/input/parse/v01/v01_exported_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/device/input/parse/v01/v01_exported_test.go b/src/device/input/parse/v01/v01_exported_test.go index 2a67684..40ddd27 100644 --- a/src/device/input/parse/v01/v01_exported_test.go +++ b/src/device/input/parse/v01/v01_exported_test.go @@ -169,7 +169,13 @@ func TestV01Feedback(t *testing.T) { } resp.Body.Close() } - time.Sleep(time.Second * 3) + time.Sleep(time.Millisecond * 2500) + resp, err := http.Get("http://localhost:27071/?say=URL%20encoding%2C%20also%20known%20as%20percent%20encoding%2C%20is%20a%20way%20to%20encode%20or%20escape%20reserved%2C%20unprintable%2C%20or%20non-ASCII%20characters%20in%20URLs%20to%20a%20safe%20and%20secure%20format") + if err != nil { + t.Fatal(err) + } + resp.Body.Close() + time.Sleep(time.Millisecond * 8500) }) }