Adria Navarro
|
866bef8145
|
Make use of helpers
|
2024-11-07 11:16:31 +01:00 |
Adria Navarro
|
f7f056ef76
|
Clean
|
2024-11-07 11:16:31 +01:00 |
Adria Navarro
|
b2488af6da
|
Use utils
|
2024-11-07 11:16:31 +01:00 |
Adria Navarro
|
8c88d65003
|
Simplify api
|
2024-11-07 11:16:31 +01:00 |
Adria Navarro
|
a952cd7d08
|
Enable disabled test
|
2024-11-07 11:16:31 +01:00 |
Adria Navarro
|
252c23f8bd
|
Fix tests
|
2024-11-07 11:16:31 +01:00 |
Sam Rose
|
9d351bcfed
|
Merge branch 'master' of github.com:budibase/budibase into add-lints-for-only
|
2024-03-19 15:25:33 +00:00 |
Adria Navarro
|
b7b8a65a54
|
Don't init DocWritethrough queue on load
|
2024-03-19 16:01:00 +01:00 |
Sam Rose
|
1785f3af7e
|
Get lint passing.
|
2024-03-19 10:55:51 +00:00 |
Sam Rose
|
1f63f0bddf
|
Run auto fix.
|
2024-03-19 09:46:10 +00:00 |
Adria Navarro
|
62cec7289d
|
Use guid instead of words
|
2024-03-14 11:03:43 +01:00 |
Michael Drury
|
874a6fbd12
|
Linting.
|
2024-03-08 12:26:11 +00:00 |
Michael Drury
|
9027e6e82a
|
Initing doc writethrough cache as part of the worker/server init process, as well as part of doc writethrough tests.
|
2024-03-08 12:20:52 +00:00 |
Adria Navarro
|
bb5b40b61c
|
Lint
|
2024-03-07 10:35:37 +01:00 |
Adria Navarro
|
1b6954247c
|
Skip test
|
2024-03-07 10:30:09 +01:00 |
Adria Navarro
|
a44faad046
|
Add same key tests
|
2024-03-06 15:37:38 +01:00 |
Adria Navarro
|
4ce85cde1a
|
Simplify, use only queues
|
2024-03-06 14:07:39 +01:00 |
Adria Navarro
|
61c4b83650
|
Test with spies
|
2024-03-06 11:55:49 +01:00 |
Adria Navarro
|
f5e2dc7a27
|
Do not use lock
|
2024-03-06 00:34:48 +01:00 |
Adria Navarro
|
37935112a4
|
Add comment
|
2024-03-06 00:34:48 +01:00 |
Adria Navarro
|
c4fc94fb28
|
Remove defaults and init
|
2024-03-06 00:34:48 +01:00 |
Adria Navarro
|
caff2876dd
|
Tests
|
2024-03-06 00:34:48 +01:00 |
Adria Navarro
|
3c944073eb
|
Use overloads
|
2024-03-06 00:34:48 +01:00 |
Adria Navarro
|
6a81d21cb7
|
Fixes and tests
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
00bf88c5bf
|
Extra tests
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
319b3afddb
|
Ensure keys are removed
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
e228b9c207
|
Test concurrency
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
b1e1226de6
|
Add extra tests
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
b1027527b3
|
Add persisting tests
|
2024-03-06 00:34:47 +01:00 |
Adria Navarro
|
64ea969aaf
|
docWritethrough test
|
2024-03-06 00:34:47 +01:00 |
mike12345567
|
c4af5214ef
|
Improving types around the writethrough cache, exposing the proper typing from the database and removing a log statement which is useless, errors are correctly propogated if they matter (and handled above this level with proper context) or in the 99% scenario it is not a real error (such as try once locks already being held) and a log is just spammy.
|
2023-12-13 15:08:23 +00:00 |
Adria Navarro
|
1d63b219b8
|
Make use of UserDB
|
2023-09-19 13:28:24 +02:00 |
Adria Navarro
|
9e1ccc35ee
|
Handle missing users
|
2023-09-19 13:28:24 +02:00 |
Adria Navarro
|
4311d563d2
|
Add tests
|
2023-09-19 13:28:24 +02:00 |
Adria Navarro
|
d3b04ef4de
|
Add tests
|
2023-09-19 13:28:24 +02:00 |
Adria Navarro
|
8b693a6fa3
|
Check types on backend-core
|
2023-08-01 13:08:09 +02:00 |
Michael Drury
|
99607ca06e
|
Reverting try twice change to writethrough.
|
2023-05-30 20:45:10 +01:00 |
Michael Drury
|
5249148d6c
|
Updating writethrough test to be aware of the double attempt locks.
|
2023-05-30 20:20:22 +01:00 |
mike12345567
|
ada052e043
|
Merging in develop - fixing some test cases which broke in the process.
|
2023-04-12 10:56:21 +01:00 |
Rory Powell
|
976b3a55ca
|
Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging
* Remove elastic apm references, use updated core middlewares
* Remove redundant LOG_LEVEL definitions
* Remove no longer needed jest logging overrides
* lint
* Backwards compat between console log helpers and pino
* Configurable DISABLE_HTTP_LOGGING
* Don't log 4xx as errors
* Remove redundant ENABLE_4XX_HTTP_LOGGING
* Cleanup migrations and event logging
* Improve bb-alert logging
* Add DISABLE_HTTP_LOGGING to helm chart
* Add ops endpoints for testing
* Disable http logging in dev
* Backwards compatible tracing implementation
* Naming update on http logging env var
* lint
* Update packages/backend-core/src/environment.ts
Co-authored-by: Adria Navarro <adria@revityapp.com>
* Merge
* Lint
* Fix console.warn failing mock by replacing with alerts mock instead
* Lint
---------
Co-authored-by: Adria Navarro <adria@revityapp.com>
|
2023-04-04 15:08:46 +01:00 |
mike12345567
|
24fc72657d
|
Fixing all broken test cases after breaking out context fully from jestSetup/backend-core jest loading.
|
2023-03-30 16:35:25 +01:00 |
adrinr
|
dded8beaeb
|
Fix writethrough falling behind
|
2023-03-01 13:16:57 +01:00 |
adrinr
|
b922fc3b00
|
Improve testing
|
2023-02-28 15:03:18 +01:00 |
adrinr
|
c254c565e4
|
Use redlock for writethrough
|
2023-02-28 14:54:34 +01:00 |
Rory Powell
|
ae9979929a
|
Enable higher concurrency and resiliency in worker tests
|
2023-02-13 11:57:30 +00:00 |
adrinr
|
11a7742d90
|
Cleanup
|
2023-02-03 19:23:36 +00:00 |
adrinr
|
6dab44a569
|
Clean code
|
2023-02-03 09:37:34 +00:00 |
adrinr
|
c7d0a077be
|
Replace faker for chance
|
2023-02-01 17:11:50 +00:00 |
adrinr
|
e4c898c327
|
Use test-containers for backend-core tests
|
2023-01-27 11:43:36 +00:00 |
mike12345567
|
e7e2d91fef
|
Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch
|
2022-11-15 16:45:25 +00:00 |