From 8af1bcd35cf433ef27c56eff50e4cde1af8939ef Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 7 Nov 2022 14:20:57 -0800 Subject: [PATCH] re-enable TestInspect() test (#2436) --- integration/inspect_test.go | 3 +-- restapi/utils_test.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/integration/inspect_test.go b/integration/inspect_test.go index b8fcbe3b8..8d9d0d71d 100644 --- a/integration/inspect_test.go +++ b/integration/inspect_test.go @@ -70,8 +70,7 @@ func TestInspect(t *testing.T) { file: "test.txt", encrypt: true, }, - // TODO: Change back to 200 when https://github.com/minio/minio/pull/15474 is merged. - expStatusCode: 500, + expStatusCode: 200, expectedError: false, }, { diff --git a/restapi/utils_test.go b/restapi/utils_test.go index cf845b939..910199b75 100644 --- a/restapi/utils_test.go +++ b/restapi/utils_test.go @@ -111,7 +111,7 @@ func TestNewSessionCookieForConsole(t *testing.T) { HttpOnly: true, SameSite: http.SameSiteLaxMode, Name: "token", - MaxAge: 3600, + MaxAge: 43200, Expires: time.Now().Add(1 * time.Hour), }, },