copilot-swe-agent[bot] 569afcc887 fix(sync): eliminate periodic sync race in TestDockerImagesAreSkipped
The test only exercises on-demand sync but had `PollInterval: 30m` set
with non-empty `Content`, causing the scheduler to immediately start
a background periodic sync goroutine on server startup. This goroutine
created temporary `.sync/<uuid>` directories inside `destDir/zot-test`
concurrently with the test's `os.RemoveAll(destDir/testImage)`, causing
an intermittent "directory not empty" failure.

Fix: remove `PollInterval` from the sync registry config so the periodic
sync generator is never registered with the scheduler. On-demand sync
(the only mode exercised by this test) is unaffected.

Agent-Logs-Url: https://github.com/project-zot/zot/sessions/1a321663-3147-46e9-9321-989e5dd0ed3c

Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>
2026-05-19 01:59:07 +00:00
2024-01-17 17:22:33 +02:00
2026-05-11 09:29:05 +03:00
2026-05-16 23:33:48 -07:00
2026-05-16 23:33:48 -07:00
2025-05-25 11:57:49 +03:00
2026-05-17 22:21:26 -07:00
2024-03-14 09:43:42 -07:00
2019-06-21 15:29:19 -07:00

zot

build test nightly jobs codecov conformance CodeQL CII Best Practices OpenSSF Scorecard Go Reference FOSSA Status

zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!

Documentation for zot is located at: https://zotregistry.dev

Code of conduct details are here.

License

FOSSA Status

Languages
Go 93.6%
Shell 5.8%
Makefile 0.4%