[ARVADOS] updated: 2.1.0-1559-g94c034578

Git user git at public.arvados.org
Thu Oct 28 23:47:43 UTC 2021


Summary of changes:
 lib/controller/integration_test.go | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

       via  94c0345781dcb2a7fca6931bcd35a87766d65996 (commit)
      from  c84e8e6141220ff088f489cb1be3af699b5398cf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 94c0345781dcb2a7fca6931bcd35a87766d65996
Author: Ward Vandewege <ward at curii.com>
Date:   Thu Oct 28 19:47:05 2021 -0400

    Controller test fix.
    
    refs #18183
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/lib/controller/integration_test.go b/lib/controller/integration_test.go
index 8a23bccfb..02061547b 100644
--- a/lib/controller/integration_test.go
+++ b/lib/controller/integration_test.go
@@ -831,11 +831,9 @@ func (s *IntegrationSuite) TestListUsers(c *check.C) {
 	}
 	c.Check(found, check.Equals, true)
 
-	// Deactivated user can see is_active==false via "get current
-	// user" API
+	// Deactivated user no longer has working token
 	user1, err = conn3.UserGetCurrent(userctx1, arvados.GetOptions{})
-	c.Assert(err, check.IsNil)
-	c.Check(user1.IsActive, check.Equals, false)
+	c.Assert(err, check.ErrorMatches, `.*401 Unauthorized.*`)
 }
 
 func (s *IntegrationSuite) TestSetupUserWithVM(c *check.C) {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list