From 6670a518e9bcdf4ff37f4f13d45733d79f649f69 Mon Sep 17 00:00:00 2001 From: parsa Date: Fri, 8 Sep 2023 18:33:45 +0330 Subject: [PATCH] setting test url constant to debug --- raytest/tests.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/raytest/tests.go b/raytest/tests.go index 94f75a0..4c021fa 100644 --- a/raytest/tests.go +++ b/raytest/tests.go @@ -79,9 +79,10 @@ func GetTest(InPort *int, Destination *string, TimeOut *int32) (int32, error) { }}, } - link := Destination + // link := Destination + link := "http://youtube.com" // timeout := int32(5000) // timeout in milliseconds - rtt, testerr := urlTest(client, link, TimeOut) + rtt, testerr := urlTest(client, &link, TimeOut) if testerr != nil { // fmt.Println("Error:", testerr) return 0, testerr