瀏覽代碼

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,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
 	}