Parcourir la source

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

* Remove seconds parameter

* Remove anoter seconds parameter
Garrett Wang il y a 5 ans
Parent
révision
4c71eee111
No account linked to committer's email address
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0
    2
      internal/driver/fetch_test.go

+ 0
- 2
internal/driver/fetch_test.go Voir le fichier

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