lnd_test: add t.Skip to *harnessTest

This commit is contained in:
Johan T. Halseth 2019-05-24 14:17:49 +02:00
parent 2d49ee56e2
commit 39d3aa6eca
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -68,6 +68,12 @@ func newHarnessTest(t *testing.T) *harnessTest {
return &harnessTest{t, nil}
}
// Skipf calls the underlying testing.T's Skip method, causing the current test
// to be skipped.
func (h *harnessTest) Skipf(format string, args ...interface{}) {
h.t.Skipf(format, args...)
}
// Fatalf causes the current active test case to fail with a fatal error. All
// integration tests should mark test failures solely with this method due to
// the error stack traces it produces.