Fix group preview bot admission and improve CI diagnostics
Verify and publish checkpoint container / container (push) Successful in 11m1s
Verify and publish checkpoint container / container (push) Successful in 11m1s
This commit is contained in:
1 parent
d8d3cfd26c
commit
3c1cbd071e
5 files changed
+82
-3
No files matched your search
@@ -61,6 +61,7 @@ void test('authenticated mixed transfer moves a concealed marker and physical vi
|
||||
const me = at.players.find(player => player.id === hostSeat.id)!;
|
||||
if (!me.shipped && me.reserves > 0) {
|
||||
let accepted = false;
|
||||
const rejections: string[] = [];
|
||||
for (const territory of TERRITORIES.filter(item => item.type === 'stronghold')) {
|
||||
for (const sector of territory.sectors) {
|
||||
if (sector === at.storm) continue;
|
||||
@@ -70,10 +71,13 @@ void test('authenticated mixed transfer moves a concealed marker and physical vi
|
||||
} });
|
||||
if (attempt.status === 200) { view = attempt.data; accepted = true; break; }
|
||||
assert.equal(attempt.status, 409, JSON.stringify(attempt.data));
|
||||
rejections.push(`${territory.id}:${sector}: ${attempt.data.error ?? 'unknown rejection'}`);
|
||||
}
|
||||
if (accepted) break;
|
||||
}
|
||||
assert.ok(accepted, 'Atreides can ship its physical reserves to an available stronghold.');
|
||||
const source = at.homeworlds?.worlds?.find(world => world.id === 'homeworld:atreides')?.forces[hostSeat.id];
|
||||
assert.ok(accepted, `Atreides cannot ship ${me.reserves} reserves with ${me.spice} spice ` +
|
||||
`from Caladan ${JSON.stringify(source ?? null)}; storm ${at.storm}. Rejections: ${rejections.join('; ')}`);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user