소스 검색

Add comment for relay test

tags/v2.0.0-rc1
9seconds 5 년 전
부모
커밋
4da2a4f10f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      mtglib/internal/relay/relay_test.go

+ 3
- 1
mtglib/internal/relay/relay_test.go 파일 보기

47
 	westConn := &rwcMock{}
47
 	westConn := &rwcMock{}
48
 	westConn.Write([]byte{100, 101, 102}) // nolint: errcheck
48
 	westConn.Write([]byte{100, 101, 102}) // nolint: errcheck
49
 
49
 
50
-	suite.r.Process(eastConn, westConn)
50
+	// yes, this test is not good enough. but apparently, if it hangs,
51
+	// we can debug most of possible issues.
52
+	_ = suite.r.Process(eastConn, westConn)
51
 }
53
 }
52
 
54
 
53
 func TestRelay(t *testing.T) {
55
 func TestRelay(t *testing.T) {

Loading…
취소
저장