Skip to content
Draft
Show file tree
Hide file tree
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
30 changes: 0 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,36 +79,6 @@ jobs:
name: Build changed tests
run: ./run.sh build_image "${{ matrix.framework }}"

- id: run-mysql57
name: Run changed tests against upstream MySQL 5.7
run: ./run.sh run_test "${{ matrix.framework }}"
env:
VT_USERNAME: root
VT_PASSWORD: root
VT_DATABASE: test
VT_HOST: 127.0.0.1
VT_PORT: 33576

- id: run-mysql80
name: Run changed tests against upstream MySQL 8.0
run: ./run.sh run_test "${{ matrix.framework }}"
env:
VT_USERNAME: root
VT_PASSWORD: root
VT_DATABASE: test
VT_HOST: 127.0.0.1
VT_PORT: 33578

- id: run-vttestserver57
name: Run changed tests against vttestserver:mysql57
run: ./run.sh run_test "${{ matrix.framework }}"
env:
VT_USERNAME: test
VT_PASSWORD: test
VT_DATABASE: test
VT_HOST: 127.0.0.1
VT_PORT: 33577

- id: run-vttestserver80
name: Run changed tests against vttestserver:mysql80
run: ./run.sh run_test "${{ matrix.framework }}"
Expand Down
20 changes: 20 additions & 0 deletions frameworks/javascript/prisma/hacks.patch
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,23 @@ index 2a1d7a85..a21f66fe 100644
const credentials = uriToCredentials(connectionString)

return {
diff --git a/src/packages/tests/src/__tests__/__helpers__/integrationTest.ts b/src/packages/tests/src/__tests__/__helpers__/integrationTest.ts
index 94ef4b343..87c68fa4a 100644
--- a/src/packages/tests/src/__tests__/__helpers__/integrationTest.ts
+++ b/src/packages/tests/src/__tests__/__helpers__/integrationTest.ts
@@ -11,7 +11,7 @@ process.setMaxListeners(200)

process.env.SKIP_GENERATE = 'true'

-const engine = new IntrospectionEngine()
+let engine = new IntrospectionEngine()

/**
* A potentially async value
@@ -323,6 +323,7 @@ async function setupScenario(kind: string, input: Input, scenario: Scenario) {
${datasourceBlock}
`

+ engine = new IntrospectionEngine()
const introspectionResult = await engine.introspect(schemaBase)
const prismaSchemaPath = ctx.fs.path('schema.prisma')