From c8867b1614d7da7871a1309e60c9ac5b20f93709 Mon Sep 17 00:00:00 2001 From: ain ghazal Date: Thu, 27 Jun 2024 15:05:24 +0200 Subject: [PATCH] fix after rebase --- internal/oonirun/v2_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/oonirun/v2_test.go b/internal/oonirun/v2_test.go index a9e6f1573..f54ed827d 100644 --- a/internal/oonirun/v2_test.go +++ b/internal/oonirun/v2_test.go @@ -284,9 +284,9 @@ func TestOONIRunV2LinkWithAuthentication(t *testing.T) { Author: "", Nettests: []V2Nettest{{ Inputs: []string{}, - Options: map[string]any{ - "SleepTime": int64(10 * time.Millisecond), - }, + Options: json.RawMessage(`{ + "SleepTime": 10000000 + }`), TestName: "example", }}, } @@ -341,9 +341,9 @@ func TestOONIRunV2LinkWithAuthentication(t *testing.T) { Author: "", Nettests: []V2Nettest{{ Inputs: []string{}, - Options: map[string]any{ - "SleepTime": int64(10 * time.Millisecond), - }, + Options: json.RawMessage(`{ + "SleepTime": 10000000 + }`), TestName: "example", }}, }