Commit Graph

11001 Commits

Author SHA1 Message Date
Sam Rose db877b7802
Create unique MongoDB databases. 2024-04-03 12:55:44 +01:00
Sam Rose 79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution. 2024-04-03 12:32:29 +01:00
Sam Rose b98e80f687
Back down to 4. 2024-04-03 12:28:00 +01:00
Sam Rose 04aa53c306
Trying with 8 workers. 2024-04-03 12:22:11 +01:00
Sam Rose c764b0f22e
Testcontainer debug logging in test-libraries. 2024-04-03 11:55:38 +01:00
Sam Rose c31614a582
Give test-libraries its own container namespace, give packages/server/scripts/test.sh some new params in the larger runners. 2024-04-03 11:45:41 +01:00
Sam Rose 8cffdeda56
Re-use containers and create namespaces for each test. 2024-04-03 11:33:39 +01:00
Sam Rose e3fbce25fa
Merge branch 'master' of github.com:budibase/budibase into reuse-containers 2024-04-03 11:15:11 +01:00
Sam Rose 90cfdd661d
Rework how we connect to containers. 2024-03-28 17:36:26 +00:00
mike12345567 d8de0a3154 An issue which comes up relatively often is that localhost is not a valid option for a datasource in our cloud and our self host environments. Fixing this so it only shows this in development. 2024-03-28 12:14:56 +00:00
Sam Rose ecdb5eec36
Remove testcontainers debug logging. 2024-03-27 16:59:27 +00:00
Sam Rose 4183a0aeb7
Set default packages/server test timeout to 30 seconds, and unmock console.log. 2024-03-27 16:57:31 +00:00
Sam Rose eb33dac9b1
Make container reuse optional, disabled by default. 2024-03-27 16:40:41 +00:00
Sam Rose 1205cfcbcc
Fix mysql.spec.ts 2024-03-27 16:31:31 +00:00
Sam Rose 385197a5f7
Fix postgres.spec.ts 2024-03-27 15:55:22 +00:00
Sam Rose 831c174362
Give SQL integrations their own database when fetching a new datasource. 2024-03-27 15:25:37 +00:00
Sam Rose f1609e6763
Retry socket hangups. 2024-03-26 17:25:24 +00:00
Sam Rose 1eae212f83
Stop relying on config.request and create a supertest instance per request. 2024-03-26 15:41:51 +00:00
Sam Rose b84bbd6003
Migrate viewV2.spec.ts to new datasource providers. 2024-03-26 14:43:17 +00:00
Sam Rose 2304aeaa71
Migrate mysql.spec.ts to new datasource providers. 2024-03-26 14:36:18 +00:00
Sam Rose 5530d7f4b6
Migrate mongodb.spec.ts to new datasource providers. 2024-03-26 14:05:58 +00:00
Sam Rose 158964c4d2
Got container reuse strategy in place, need to convert tests now. 2024-03-26 11:22:40 +00:00
Sam Rose 6ee8f421a5
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-26 10:05:21 +00:00
Sam Rose 037becfedc
Remove testcontainers debug logging. 2024-03-26 10:05:13 +00:00
Sam Rose 415b27a008
Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
Sam Rose f3e9e3d35e
Share a single globalSetup/globalTeardown. 2024-03-26 09:49:33 +00:00
Sam Rose 0dba0cebc7
Remove CouchDB container name. 2024-03-25 17:26:15 +00:00
Adria Navarro f7daceaf07 Remove unused .vscode folders 2024-03-25 18:23:12 +01:00
Sam Rose f68840a580
Remove testcontainers debug logging. 2024-03-25 17:13:04 +00:00
Sam Rose 569f00316b
Merge branch 'master' of github.com:budibase/budibase into remove-jest-testcontainers 2024-03-25 17:12:11 +00:00
Gerard Burns d9033b2636
Un-revert Skeleton Loader PR (#13180)
* wip

* wip

* wip

* client versions init

* wip

* wip

* wip

* wip

* wip

* linting

* remove log

* comment client version script

* lint

* skeleton loader type fix

* fix types

* lint

* fix types again

* fix manifest not being served locally

* remove preinstalled old client version

* add constant for dev client version

* linting

* Dean PR Feedback

* linting

* pr feedback

* wip

* wip

* clientVersions empty array

* delete from git

* empty array again

* fix tests

* pr feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-03-25 16:39:42 +00:00
Sam Rose b303592f4c
Remove content length checks. 2024-03-25 15:30:14 +00:00
Sam Rose db21542d38
Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
Sam Rose 66cfb8eedd
Remove jest-testcontainers. 2024-03-25 15:24:14 +00:00
Sam Rose 419880e4fb
Merge branch 'master' into pull-images-prior-to-tests 2024-03-25 13:51:38 +00:00
Sam Rose 538f3b9dbe
Align our use of images across the codebase. 2024-03-25 13:51:27 +00:00
Sam Rose fc41d16d1d
Remove comment added to trigger tests. 2024-03-25 11:52:18 +00:00
Michael Drury 6824d8626a Fixing failing test. 2024-03-25 11:19:31 +00:00
Sam Rose 077ca2d120
Make a change in packages/server to trigger the tests. 2024-03-25 11:16:37 +00:00
Michael Drury 5240c2c2ca
Merge branch 'master' into fix/BUDI-7444 2024-03-25 10:03:38 +00:00
Michael Drury a7142dc618
Merge branch 'master' into remove-mongodb-mock 2024-03-22 16:16:15 +00:00
mike12345567 cc8a0274a4 Updating based on PR comments. 2024-03-22 15:26:02 +00:00
mike12345567 defb925d16 Query seq fix. 2024-03-22 13:38:52 +00:00
mike12345567 185e9c3425 Fixing test case. 2024-03-22 13:01:51 +00:00
mike12345567 2464020a22 Test fixes after running in CI. 2024-03-22 12:36:00 +00:00
mike12345567 5b1db96129 Fixing typing issue. 2024-03-22 12:05:55 +00:00
mike12345567 ce73832a43 Merge branch 'fix/BUDI-7444' of github.com:Budibase/budibase into fix/BUDI-7444 2024-03-22 11:50:24 +00:00
mike12345567 3f225c94e7 Linting. 2024-03-22 11:50:07 +00:00
Michael Drury f5d085ec83
Merge branch 'master' into fix/BUDI-7444 2024-03-22 11:45:12 +00:00
mike12345567 f4f7ac42ec Adding test cases for interpolation of SQL, confirming that the context correctly gets cleaned up before passing into bindings. 2024-03-22 11:40:44 +00:00