From 3a7ae4f6162fb87f9ff8cd02e5883557853a2bcd Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 29 Oct 2019 03:56:36 -0500 Subject: [PATCH] revert increase import expired timeout --- backend/app/rest/api/migrator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rest/api/migrator_test.go b/backend/app/rest/api/migrator_test.go index fbb0cc1c..1f8c9ad4 100644 --- a/backend/app/rest/api/migrator_test.go +++ b/backend/app/rest/api/migrator_test.go @@ -183,7 +183,7 @@ func TestMigrator_ImportWaitExpired(t *testing.T) { assert.Equal(t, http.StatusAccepted, resp.StatusCode) client = &http.Client{Timeout: 1 * time.Second} - req, err = http.NewRequest("GET", ts.URL+"/api/v1/admin/wait?site=remark42&timeout=500ms", nil) + req, err = http.NewRequest("GET", ts.URL+"/api/v1/admin/wait?site=remark42&timeout=10ms", nil) require.NoError(t, err) req.SetBasicAuth("admin", "password") assert.NoError(t, err)