fixed error for fail test case. Using absolute path for now

This commit is contained in:
2021-04-04 22:18:13 +04:00
parent 2875b7228b
commit 7503e4870c
3 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ func (s *IpAddress)DownloadSpeed() error {
func (s *IpAddress)UploadSpeed() error {
start := time.Now()
b, w := createMultipartFormData("file","50.bin")
b, w := createMultipartFormData("file","/etc/p2p-rendering/50.bin")
req, err := http.NewRequest("GET", "http://" + s.Ipv4 + ":8088/upload", &b)
if err != nil {