?say=XYZ to TTS
parent
cb8b254cbb
commit
43566be7ae
|
|
@ -162,11 +162,13 @@ func TestV01Feedback(t *testing.T) {
|
||||||
if os.Getenv("INTEGRATION_TTS") != "true" {
|
if os.Getenv("INTEGRATION_TTS") != "true" {
|
||||||
t.Skip("$INTEGRATION_TTS is not true")
|
t.Skip("$INTEGRATION_TTS is not true")
|
||||||
}
|
}
|
||||||
|
for i := 0; i < 2; i++ {
|
||||||
resp, err := http.Get("http://localhost:27071/?say=hello%20world")
|
resp, err := http.Get("http://localhost:27071/?say=hello%20world")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
resp.Body.Close()
|
resp.Body.Close()
|
||||||
|
}
|
||||||
time.Sleep(time.Second * 2)
|
time.Sleep(time.Second * 2)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue