Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions cli/tests/pmm-server-only.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,23 @@ test.describe(
'was collected before with the same name and label values',
);
});

test('PMM-T2082 Verify there are no certificate issues reported in ClickHouse logs', async () => {
const chLogs = await cli.exec(
'docker exec pmm-server cat /srv/logs/clickhouse-server.log | grep -i "CertificateReloader:"',
);
expect
.soft(
chLogs.stdout,
'Verify the ClickHouse client is not trying to connect via TLS and reporting certificate reloader errors',
)
.not.toContain('CertificateReloader: One of paths is empty');
expect
.soft(
chLogs.stdout,
'Verify ClickHouse server is not trying to load TLS certificates and reporting modification time errors',
)
.not.toContain('CertificateReloader: Cannot obtain modification time');
});
},
);
Loading