also looking at this
fix(tls): wait for DNS before ACME issuance
#166
4 files
+42
-4
| @@ -547,7 +547,10 @@ describe('renewRpxCertificates', () => { | ||
| 547 | 547 | expect(ok).toBe(true) |
| 548 | 548 | const call = (driver.runRemoteDeploy as ReturnType<typeof mock>).mock.calls[0][0] |
| 549 | 549 | expect(call.targets[0].id).toBe('i-abc123') |
| 550 | expect(call.commands).toEqual(['systemctl start rpx-cert-renew-my-app.service']) | |
| 550 | expect(call.commands).toEqual([ | |
| 551 | 'systemctl start rpx-cert-renew-my-app.service', | |
| 552 | "test -s '/etc/rpx/certs/my-app.example.com.crt'", | |
| 553 | ]) | |
| 551 | 554 | expect(call.tags.Role).toBe('app') |
| 552 | 555 | }) |
| 553 | 556 | |