Procházet zdrojové kódy

Add comment for relay test

tags/v2.0.0-rc1
9seconds před 5 roky
rodič
revize
4da2a4f10f
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      mtglib/internal/relay/relay_test.go

+ 3
- 1
mtglib/internal/relay/relay_test.go Zobrazit soubor

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

Načítá se…
Zrušit
Uložit