Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 32 of 32 for setResourceVersion (0.24 sec)

  1. pkg/controller/daemon/daemon_controller_test.go

    			t.Fatalf("queue.Len() = %v, want %v", got, want)
    		}
    	}
    }
    
    func bumpResourceVersion(obj metav1.Object) {
    	ver, _ := strconv.ParseInt(obj.GetResourceVersion(), 10, 32)
    	obj.SetResourceVersion(strconv.FormatInt(ver+1, 10))
    }
    
    // getQueuedKeys returns a sorted list of keys in the queue.
    // It can be used to quickly check that multiple keys are in there.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    				}
    			}
    		})
    	}
    }
    
    func bumpResourceVersion(obj metav1.Object) {
    	ver, _ := strconv.ParseInt(obj.GetResourceVersion(), 10, 32)
    	obj.SetResourceVersion(strconv.FormatInt(ver+1, 10))
    }
    
    func TestJobApiBackoffReset(t *testing.T) {
    	t.Cleanup(setDurationDuringTest(&DefaultJobApiBackOff, fastJobApiBackoff))
    	_, ctx := ktesting.NewTestContext(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top