Parcourir la source

Add comment for relay test

tags/v2.0.0-rc1
9seconds il y a 5 ans
Parent
révision
4da2a4f10f
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3
    1
      mtglib/internal/relay/relay_test.go

+ 3
- 1
mtglib/internal/relay/relay_test.go Voir le fichier

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

Chargement…
Annuler
Enregistrer