Переглянути джерело

Remove the "seconds" parameter to fix tests. (#527)

* Remove seconds parameter

* Remove anoter seconds parameter
Garrett Wang 5 роки тому
джерело
коміт
4c71eee111
No account linked to committer's email address
1 змінених файлів з 0 додано та 2 видалено
  1. 0
    2
      internal/driver/fetch_test.go

+ 0
- 2
internal/driver/fetch_test.go Переглянути файл

575
 	address := "https+insecure://" + l.Addr().String() + "/debug/pprof/goroutine"
575
 	address := "https+insecure://" + l.Addr().String() + "/debug/pprof/goroutine"
576
 	s := &source{
576
 	s := &source{
577
 		Sources:   []string{address},
577
 		Sources:   []string{address},
578
-		Seconds:   10,
579
 		Timeout:   10,
578
 		Timeout:   10,
580
 		Symbolize: "remote",
579
 		Symbolize: "remote",
581
 	}
580
 	}
664
 	address := "https://" + "localhost:" + portStr + "/debug/pprof/goroutine"
663
 	address := "https://" + "localhost:" + portStr + "/debug/pprof/goroutine"
665
 	s := &source{
664
 	s := &source{
666
 		Sources:   []string{address},
665
 		Sources:   []string{address},
667
-		Seconds:   10,
668
 		Timeout:   10,
666
 		Timeout:   10,
669
 		Symbolize: "remote",
667
 		Symbolize: "remote",
670
 	}
668
 	}