Просмотр исходного кода

Add comment for relay test

tags/v2.0.0-rc1
9seconds 5 лет назад
Родитель
Сommit
4da2a4f10f
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3
    1
      mtglib/internal/relay/relay_test.go

+ 3
- 1
mtglib/internal/relay/relay_test.go Просмотреть файл

@@ -47,7 +47,9 @@ func (suite *RelayTestSuite) TestCopyFine() {
47 47
 	westConn := &rwcMock{}
48 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 55
 func TestRelay(t *testing.T) {

Загрузка…
Отмена
Сохранить