mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 00:39:34 +08:00
fix: unittests
This commit is contained in:
@@ -99,7 +99,7 @@ func TestRunRequestStatOn(t *testing.T) {
|
|||||||
if !assert.Greater(t, stat["TLSHandshake"], int64(0)) {
|
if !assert.Greater(t, stat["TLSHandshake"], int64(0)) {
|
||||||
t.Fatal()
|
t.Fatal()
|
||||||
}
|
}
|
||||||
if !assert.Greater(t, stat["ServerProcessing"], int64(1)) {
|
if !assert.Greater(t, stat["ServerProcessing"], int64(0)) {
|
||||||
t.Fatal()
|
t.Fatal()
|
||||||
}
|
}
|
||||||
if !assert.GreaterOrEqual(t, stat["ContentTransfer"], int64(0)) {
|
if !assert.GreaterOrEqual(t, stat["ContentTransfer"], int64(0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user