소스 검색

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
 	}