1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-04 23:55:22 +00:00
syncthing/lib/model
Jakob Borg 7ebeaefe77
lib/model: Deflake new IndexHandlerTest ()
The new test has a flakiness factor on slow platforms, where the close
on the sending connection races with the last index message, potentially
messing up the count. This adds a wait to ensure that all sent messages
are received, or the test will eventually fail with a timeout.
2024-02-11 09:03:12 +01:00
..
mocks lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
testdata all: Grand test refactor (fixes , fixes ) 2023-05-09 10:01:57 +00:00
blockpullreorderer_test.go all: Remove miscellaneous vestigial code () 2021-03-17 22:23:12 +01:00
blockpullreorderer.go lib/model: Add support for different puller block ordering () 2020-05-11 22:44:04 +01:00
debug.go all, lib/logger: Refactor SetDebug calls () 2019-10-04 13:03:34 +02:00
deviceactivity_test.go lib/model: Return index from deviceActivity.leastBusy 2021-11-26 12:07:43 +01:00
deviceactivity.go lib/model: Return index from deviceActivity.leastBusy 2021-11-26 12:07:43 +01:00
devicedownloadstate_test.go all: Move remaining protos to use the vanity plugin () 2020-10-02 08:07:05 +02:00
devicedownloadstate.go all: Move remaining protos to use the vanity plugin () 2020-10-02 08:07:05 +02:00
doc.go all: Update license url to https (ref ) 2017-02-09 08:04:16 +01:00
fakeconns_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
folder_recvenc.go all: Remove lib/util package () 2023-08-21 19:44:33 +02:00
folder_recvonly_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
folder_recvonly.go all: Remove lib/util package () 2023-08-21 19:44:33 +02:00
folder_sendonly.go lib/ignore: Refactor out result type () 2024-01-13 18:58:23 +01:00
folder_sendrecv_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
folder_sendrecv_unix.go all: Support syncing ownership (fixes ) () 2022-07-26 08:24:58 +02:00
folder_sendrecv_windows.go all: Support syncing ownership (fixes ) () 2022-07-26 08:24:58 +02:00
folder_sendrecv.go lib/model: Typo in debug print (fixes ) 2024-02-01 15:11:09 +01:00
folder_summary.go lib/api: Improve folder summary event, verbose service () 2024-01-31 08:24:39 +01:00
folder_test.go all: Grand test refactor (fixes , fixes ) 2023-05-09 10:01:57 +00:00
folder.go lib/model: Only handle relevant folder summaries (kqueue) (fixes ) () 2023-12-13 12:34:24 +01:00
folderstate.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes ) () 2023-08-04 19:57:30 +02:00
indexhandler_test.go lib/model: Deflake new IndexHandlerTest () 2024-02-11 09:03:12 +01:00
indexhandler.go lib/model: Refactor folderRunners to use a serviceMap () 2023-09-02 16:42:46 +02:00
metrics.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes ) () 2023-08-04 19:57:30 +02:00
model_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
model.go lib/model: Typo in method name (fixes ) 2024-02-01 15:13:33 +01:00
progressemitter_test.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes ) () 2023-08-04 19:57:30 +02:00
progressemitter.go all: Refactor the protocol/model interface a bit (ref ) () 2023-07-29 10:24:44 +02:00
queue_test.go all: Use some Go 1.21 features () 2024-02-10 21:02:42 +01:00
queue.go lib/model: Optimize jobQueue performance and memory use () 2021-10-29 20:20:46 +02:00
requests_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
sentdownloadstate.go all: Fix various user-facing and non-user-facing typos () 2022-08-23 15:44:11 +02:00
service_map_test.go lib/model: Refactor folderRunners to use a serviceMap () 2023-09-02 16:42:46 +02:00
service_map.go lib/model: Remove spurious "replacing service" failure event (ref ) 2023-12-11 07:43:40 +01:00
sharedpullerstate_test.go all: Grand test refactor (fixes , fixes ) 2023-05-09 10:01:57 +00:00
sharedpullerstate.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes ) () 2023-08-04 19:57:30 +02:00
testos_test.go all: Grand test refactor (fixes , fixes ) 2023-05-09 10:01:57 +00:00
testutils_test.go lib/protocol: Refactor interface () 2024-01-31 08:18:27 +01:00
util.go lib/model: Use a single lock (phase two: cleanup) () 2023-12-11 22:06:45 +01:00
utils_test.go all: Grand test refactor (fixes , fixes ) 2023-05-09 10:01:57 +00:00