MCPcopy
hub / github.com/NVIDIA/aistore / Errorf

Function Errorf

devtools/tassert/tassert.go:69–74  ·  view source on GitHub ↗
(tb testing.TB, cond bool, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

67}
68
69func Errorf(tb testing.TB, cond bool, msg string, args ...interface{}) {
70 if !cond {
71 printStack()
72 tb.Errorf(msg, args...)
73 }
74}
75
76// TODO: Make this a range over `errCh` post closing it ?
77func SelectErr(tb testing.TB, errCh chan error, verb string, errIsFatal bool) {

Callers 15

TestCompareObjectFunction · 0.92
TestDiffResolverFunction · 0.92
streamWriteUntilFunction · 0.92
TestLoadAvgFunction · 0.92
TestLimitMaxProcFunction · 0.92
TestMemoryStatsFunction · 0.92
TestProcFunction · 0.92
testRawUnmarshalFunction · 0.92
TestFsIDMarshalFunction · 0.92
TestParseURLSchemeFunction · 0.92
TestReparseQueryFunction · 0.92
TestParseBckObjectURIFunction · 0.92

Calls 1

printStackFunction · 0.85

Tested by 15

TestCompareObjectFunction · 0.74
TestDiffResolverFunction · 0.74
streamWriteUntilFunction · 0.74
TestLoadAvgFunction · 0.74
TestLimitMaxProcFunction · 0.74
TestMemoryStatsFunction · 0.74
TestProcFunction · 0.74
testRawUnmarshalFunction · 0.74
TestFsIDMarshalFunction · 0.74
TestParseURLSchemeFunction · 0.74
TestReparseQueryFunction · 0.74
TestParseBckObjectURIFunction · 0.74