compose/pkg/e2e
Milas Bowman 3b0742fd57
watch: batch & de-duplicate file events (#10865)
Adjust the debouncing logic so that it applies to all inbound file
events, regardless of whether they match a sync or rebuild rule.

When the batch is flushed out, if any event for the service is a
rebuild event, then the service is rebuilt and all sync events for
the batch are ignored. If _all_ events in the batch are sync events,
then a sync is triggered, passing the entire batch at once. This
provides a substantial performance win for the new `tar`-based
implementation, as it can efficiently transfer the changes in bulk.

Additionally, this helps with jitter, e.g. it's not uncommon for
there to be double-writes in quick succession to a file, so even if
there's not many files being modified at once, it can still prevent
some unnecessary transfers.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-08-03 14:53:02 -04:00
..
fixtures add support of depends_on.required attribute 2023-07-18 23:13:47 +02:00
assert.go up: do not stop dependency containers (#9701) 2022-08-02 15:25:59 -04:00
build_test.go test: fix e2e test for privileged builds (#10873) 2023-08-03 12:23:24 -04:00
cancel_test.go fix builkit progressui integration (#10535) 2023-05-08 09:21:41 -04:00
compose_environment_test.go introduce --no-path-resolution to skip relative path to be resolved 2023-05-16 13:02:56 +02:00
compose_exec_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_run_test.go add support of depends_on.required attribute 2023-07-18 23:13:47 +02:00
compose_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
compose_up_test.go test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
cp_test.go align `--format` flag and UX with docker cli 2022-12-14 22:53:43 +01:00
ddev_test.go e2e: always set HOME + USER for cmd env 2022-06-16 09:44:40 -04:00
e2e_config_plugin.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
e2e_config_standalone.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
framework.go ci: merge Go coverage reports before upload (#10666) 2023-06-08 14:58:21 -04:00
ipc_test.go e2e: fix subtests and block parallel unsafe tests 2022-06-15 16:27:30 -04:00
logs_test.go e2e test to cover logs -f managing service being added/scaled 2023-05-26 14:51:23 +02:00
main_test.go Use build tags for selecting e2e test mode 2021-12-09 10:52:18 +01:00
metrics_test.go e2e: ensure all Compose cmds standalone compatible 2022-06-16 15:51:54 -04:00
networks_test.go network: fix random missing network when service has more than one 2023-07-07 09:18:01 +02:00
pause_test.go test: tweak pause test to try and prevent failures in Windows CI 2023-02-27 14:20:20 -05:00
profiles_test.go check only running containers in after down tests of profiles e2e tests 2022-12-06 23:17:14 +01:00
ps_test.go check service names based on project, not running containers 2022-12-21 21:11:44 +01:00
pull_test.go fix regression running pull --ignore-pull-failures 2022-12-19 11:56:03 +01:00
recreate_no_deps_test.go up/start/run: don't wait for disabled service 2022-08-17 12:32:10 -05:00
restart_test.go restart only needed services by checking depends_on relations 2023-03-01 18:22:40 +01:00
secrets_test.go apply uid/gid when creating secret from environment 2022-12-15 15:54:04 +01:00
start_stop_test.go one off container name use configured Separator for naming 2023-03-15 09:47:43 +01:00
up_test.go only check if a dependency is required when something unexpected happens 2023-07-18 23:45:31 +02:00
volumes_test.go Temporarily disable broken E2E tests on Windows 2022-09-20 11:33:31 -04:00
wait_test.go test: fix process leak in wait e2e test 2023-07-10 08:42:09 -04:00
watch_test.go watch: batch & de-duplicate file events (#10865) 2023-08-03 14:53:02 -04:00