Run docker ps before migrating
Test / test (push) Successful in 1m24s
Details
Test / test (push) Successful in 1m24s
Details
This commit is contained in:
parent
5c230f8e5c
commit
06e82c4f3f
|
|
@ -7,6 +7,8 @@ import {
|
||||||
updateSubscription,
|
updateSubscription,
|
||||||
} from "./subscription"
|
} from "./subscription"
|
||||||
|
|
||||||
|
import { exec } from "child_process"
|
||||||
|
|
||||||
const pushSubscription1 = {
|
const pushSubscription1 = {
|
||||||
endpoint: "https://updates.push.services.mozilla.com/wpush/v2/aaaaaaa",
|
endpoint: "https://updates.push.services.mozilla.com/wpush/v2/aaaaaaa",
|
||||||
expirationTime: null,
|
expirationTime: null,
|
||||||
|
|
@ -51,6 +53,9 @@ describe("subscriptions", () => {
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
try {
|
try {
|
||||||
|
exec("docker compose -f docker-compose-test.yaml logs", (_, out) =>
|
||||||
|
console.log(out)
|
||||||
|
)
|
||||||
await migrateToLatest()
|
await migrateToLatest()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("Something has exploded in migration")
|
console.log("Something has exploded in migration")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue