|
@@ -41,6 +41,7 @@ test('isolates runtime probes and setup scripts from the SSH heredoc stdin', ()
|
|
|
|
|
|
|
|
test('checks the Dovecot IMAPS authentication path through Lua passdb', () => {
|
|
test('checks the Dovecot IMAPS authentication path through Lua passdb', () => {
|
|
|
assert.match(scriptSource, /tls\.connect\(\{[\s\S]*host: "dovecot"[\s\S]*port: 31993/);
|
|
assert.match(scriptSource, /tls\.connect\(\{[\s\S]*host: "dovecot"[\s\S]*port: 31993/);
|
|
|
|
|
+ assert.match(scriptSource, /setTimeout\(\(\) => finish\(false\), 15000\)/);
|
|
|
assert.match(scriptSource, /mailhub-healthcheck@invalid\.invalid/);
|
|
assert.match(scriptSource, /mailhub-healthcheck@invalid\.invalid/);
|
|
|
assert.match(scriptSource, /temporary authentication failure\|unavailable/);
|
|
assert.match(scriptSource, /temporary authentication failure\|unavailable/);
|
|
|
assert.match(scriptSource, /Dovecot IMAPS authentication path check failed\./);
|
|
assert.match(scriptSource, /Dovecot IMAPS authentication path check failed\./);
|