Remove initial server health check and bump Harbor versions
This commit is contained in:
@@ -36,11 +36,9 @@ test('server picker handles 1, 30 and 300 stable-ID servers with duplicate label
|
||||
assert.equal(SERVER_RESULT_WINDOW, 60);
|
||||
});
|
||||
|
||||
test('server picker checks health once on load, keeps manual refresh and bounds the result window', () => {
|
||||
test('server picker checks health only on manual refresh and bounds the result window', () => {
|
||||
assert.doesNotMatch(overview, /pingAll|servers\.ping/);
|
||||
assert.match(picker, /const initialCheckStarted = useRef\(false\)/);
|
||||
assert.match(picker, /if \(initialCheckStarted\.current \|\| !servers\.length\) return/);
|
||||
assert.match(picker, /initialCheckStarted\.current = true;\s*checkVisible\(\)/);
|
||||
assert.doesNotMatch(picker, /checkVisible\(\);/);
|
||||
assert.match(picker, /onClick={checkVisible}/);
|
||||
assert.match(picker, /\{ \.\.\.current\[id\], checking: true \}/);
|
||||
assert.match(picker, /700 - \(performance\.now\(\) - startedAt\)/);
|
||||
|
||||
Reference in New Issue
Block a user