Преглед на файлове

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,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) {

Loading…
Отказ
Запис