Skip to content

Commit 2a40a78

Browse files
committed
debug
1 parent 5cc18b8 commit 2a40a78

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/all-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ jobs:
5757
--health-interval 10s
5858
--health-timeout 5s
5959
--health-retries 5
60-
ports:
61-
- 5432:5432
6260
steps:
6361
- name: Cache PUB_CACHE
6462
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684

app/test/shared/postgresql_ci_test.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ void main() {
1515
markTestSkipped('PUB_POSTGRES_URL was not specified.');
1616
return;
1717
}
18+
try {
19+
await Connection.open(
20+
Endpoint(host: 'localhost', database: 'postgres'),
21+
);
22+
} catch (e, st) {
23+
print(e);
24+
print(st);
25+
}
1826
final conn = await Connection.openFromUrl(pubPostgresUrl);
1927
final rs1 = await conn.execute('SELECT 1;');
2028
expect(rs1[0][0], 1);

0 commit comments

Comments
 (0)