grafana/scripts
Matthew Jacobson 676877f882
Chore: Reduce flakiness of e2e tests caused by write contention in sqlite (#76659)
Reduce flakiness of e2e tests caused by write contention in sqlite

Write contention in sqlite on startup intermittently causes failed tests because
 of failed service runs. This can have various root causes, one example is
 dashboard provisioning:

Dashboard provisioning's frequent commits can cause other read transaction
 snapshots to invalidate and throw SQLITE_BUSY/SQLITE_BUSY_SNAPSHOT. If those
 failing transactions have a long length but not long enough to ensure all of
 the dashboards have finished provisioning it will run out of retries and fail
 entirely.

 This change helps indirectly reduce these write contentions by limiting the
 connection pool for e2e tests.

 As a bonus, having our e2e tests run using `max_open_conn = 2` means it acts
 as a guard against regressions that would affect certain internal instances
 that run with these settings.
2023-10-17 10:49:49 +03:00
..
build Chore: Upgrade Go to 1.20.10 (#76359) 2023-10-11 16:49:24 +03:00
cli I18N: Collect stats on number of untranslated strings in message catalogues (#76272) 2023-10-11 12:26:39 +03:00
drone CI: Remove 0.0.0-test tag event (#76662) 2023-10-17 10:20:14 +03:00
go/bin Remove integration tags for enterprise (#50974) 2022-06-22 15:22:42 +02:00
grafana-server Chore: Reduce flakiness of e2e tests caused by write contention in sqlite (#76659) 2023-10-17 10:49:49 +03:00
helpers Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
modowners Chore: Add action items for existing dependencies to readme (#72408) 2023-07-28 12:54:44 -04:00
openapi3 openapi: Use indentations for human-readable JSON (#53707) 2022-08-15 15:39:18 -04:00
verify-repo-update Chore: Update ubuntu image to 22.04 (#70719) 2023-09-28 08:48:41 -05:00
webpack Chore: Remove eval source maps to fix trusted types during dev (#72664) 2023-08-02 07:35:36 +00:00
benchmark-access-control.sh Access control: Basic structure and functionality behind feature toggle (#31893) 2021-03-22 13:22:48 +01:00
check-breaking-changes.sh Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
ci-frontend-metrics.sh I18N: Collect stats on number of untranslated strings in message catalogues (#76272) 2023-10-11 12:26:39 +03:00
ci-job-failed.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
ci-job-started.sh Build: Reports times and outcomes from CircleCI jobs (#20474) 2019-11-20 07:21:07 +01:00
ci-job-succeeded.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
circle-test-backend.sh Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
circle-test-cache-servers.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-frontend.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
circle-test-mysql.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-postgres.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
clean-git-or-error.sh Do codegen and check no-diff of all (non-blacklisted) CUE->TS codegen during CI (#39922) 2021-10-08 08:47:55 -04:00
cleanup-husky.sh Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
generate-a11y-report.sh Chore: Fix ShellCheck issue in the local a11y report (#55036) 2022-09-12 16:54:06 +02:00
generate-icon-bundle.js Grafana UI: Make it possible to bundle package with plugins (#76191) 2023-10-13 14:11:41 +02:00
import_many_dashboards.sh ci-build: spelling (#24386) 2020-05-18 16:41:06 +03:00
list-release-artifacts.sh CI: Fix verify-prerelease-assets pipeline (#72226) 2023-07-24 18:30:02 -03:00
mixin-check.sh Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
prepare-packagejson.js Build: Adds a fallback script to fix package.json main and types fields before packaging (#59628) 2022-12-01 11:34:52 +01:00
protobuf-check.sh Backend plugins: Renderer v2 plugin (#23625) 2020-04-21 16:16:41 +02:00
publish-npm-packages.sh Fix: Canary NPM publishing (#66734) 2023-04-18 12:00:05 +02:00
stripnulls.sh Actually enforce dashboard schema on devenv (#53797) 2022-08-16 22:07:57 -04:00
tag_release.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
trigger_docker_build.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_grafana_packer.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_windows_build.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
validate-npm-packages.sh Plugins: Remove deprecated grafana-toolkit (#73489) 2023-09-05 09:56:04 +02:00