forked from mtusi2026/mtusi2026lab3
feat(bench): add load test flags, bench matrix and plot scripts
This commit is contained in:
@@ -45,6 +45,10 @@ func TestLoadWithAction(t *testing.T) {
|
||||
t.Skip("-action is not set")
|
||||
}
|
||||
|
||||
if *actionAt+10*time.Second > *duration {
|
||||
t.Fatalf("-duration (%s) must exceed -action-at (%s) by at least 10s", *duration, *actionAt)
|
||||
}
|
||||
|
||||
user1 := createUser(t)
|
||||
user2 := createUser(t)
|
||||
chat := createChat(t, user1, user1.ID, user2.ID)
|
||||
|
||||
Reference in New Issue
Block a user