- forward updated labels/annotations for downward API compat
- refactor queue.Pod construction to take functional options, privatize Pod fields - refactor DelayFIFO and HistoricalFIFO to offer consistent, more useful Pop() funcs - refactor pod update processing changes; long term we should somehow combine with the special pod config source that we are using for mirror pods - task launch timer cleanup
This commit is contained in:
@@ -358,7 +358,7 @@ func TestDFIFO_sanity_check(t *testing.T) {
|
||||
|
||||
// pop last
|
||||
before := time.Now()
|
||||
x := df.Pop()
|
||||
x := df.Pop(nil)
|
||||
assert.Equal(a.(*testjob).instance, 2)
|
||||
|
||||
now := time.Now()
|
||||
@@ -395,7 +395,7 @@ func TestDFIFO_Offer(t *testing.T) {
|
||||
}
|
||||
|
||||
before := time.Now()
|
||||
x := dq.Pop()
|
||||
x := dq.Pop(nil)
|
||||
|
||||
now := time.Now()
|
||||
waitPeriod := now.Sub(before)
|
||||
|
Reference in New Issue
Block a user