fix: assert imported postgres service log

Use the shepherd service-start entry for the postgres import assertion instead of requiring routine postgres info logs that the Tribes importer intentionally filters.
This commit is contained in:
2026-06-06 10:25:42 +02:00
parent ab6b41a647
commit 46e550bb4e
+8 -5
View File
@@ -1440,13 +1440,16 @@ export class ScenarioExecution {
async assertImportedSystemLogs(server: LegionTrackedServer): Promise<void> {
const postgresEntry = await this.waitForLogEntry(
server.id,
"postgres-log-entry",
{ limit: 100, type: "syslog.postgres" },
(entry) => entry["program"] === "postgres"
"postgres-service-log-entry",
{ limit: 100, type: "syslog.shepherd" },
(entry) =>
entry["program"] === "shepherd" &&
typeof entry["message"] === "string" &&
entry["message"].includes("Service postgres has been started.")
)
this.assertImportedLogEntryMetadata(postgresEntry, {
program: "postgres",
type: "syslog.postgres"
program: "shepherd",
type: "syslog.shepherd"
})
const haproxyEntry = await this.waitForLogEntry(