@@ -340,8 +340,8 @@ func TestLoginOnlyOnce(t *testing.T) {
340340 require .Equal (t , "Bearer cached-token" , req1 .Header .Get ("Authorization" ))
341341 require .Equal (t , int64 (1 ), mockClient .getLoginCount ())
342342 })
343- }
344- func TestNoLoginWhenTokenIsGiven (t * testing.T ) {
343+ // }
344+ // func TestNoLoginWhenTokenIsGiven(t *testing.T) {
345345 t .Run ("no login performed when valid token provided initially" , func (t * testing.T ) {
346346 resetGlobalState ()
347347 cleanup := setupTestHomeDir (t )
@@ -370,8 +370,8 @@ func TestNoLoginWhenTokenIsGiven(t *testing.T) {
370370 time .Sleep (time .Second )
371371 require .Equal (t , int64 (0 ), atomic .LoadInt64 (& callbackCount )) // No callback called
372372 })
373- }
374- func TestRealInterceptWithGlobalCache2 (t * testing.T ) {
373+ // }
374+ // func TestRealInterceptWithGlobalCache2(t *testing.T) {
375375 t .Run ("handles login failure gracefully" , func (t * testing.T ) {
376376 resetGlobalState ()
377377 cleanup := setupTestHomeDir (t )
@@ -394,8 +394,8 @@ func TestRealInterceptWithGlobalCache2(t *testing.T) {
394394 time .Sleep (time .Second )
395395 require .Equal (t , int64 (0 ), atomic .LoadInt64 (& callbackCount )) // No callback on failure
396396 })
397- }
398- func TestRealInterceptWithGlobalCache5 (t * testing.T ) {
397+ // }
398+ // func TestRealInterceptWithGlobalCache5(t *testing.T) {
399399 t .Run ("token cached via callback and reused after provider recreation" , func (t * testing.T ) {
400400 resetGlobalState ()
401401 cleanup := setupTestHomeDir (t )
0 commit comments