Skip to content

Commit 7a666f2

Browse files
committed
[FAB-10349] TestPluginLoadingFailure fails on macOS
This CR updates the TestPluginLoadingFailure test to not look for "invalid ELF header", which is OS specific, in the panic message Change-Id: I86aafce4becc589ed045cced806bc6423cb2e554 Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
1 parent cccce48 commit 7a666f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

peer/main_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func TestPluginLoadingFailure(t *testing.T) {
4444
out := string(rawOut)
4545
assert.Contains(t, out, "panic: Error opening plugin at path testdata/invalid_plugins/invalidplugin.so")
4646
assert.Contains(t, out, "plugin.Open")
47-
assert.Contains(t, out, "invalid ELF header")
4847
})
4948
}
5049
}

0 commit comments

Comments
 (0)