syncthing/lib
Jakob Borg 22dff7207c
lib/api: Refactor to run tests in parallel (#5998)
This is an experiment in testing, based on the advise to always call
t.Parallel() at the start of every test. Doing so makes tests run in
parallel, which is usually faster, but also exposes package level state
and potential race conditions better.

To support this I had to redesign the CSRF manager to not be package
global, which was indeed an improvement. And tests run five times faster
now.
2019-09-05 12:35:51 +01:00
..
api lib/api: Refactor to run tests in parallel (#5998) 2019-09-05 12:35:51 +01:00
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
beacon lib/discover: Don't leak goroutines (#5950) 2019-08-22 12:30:57 +02:00
build lib/build: Version 1.2 will be the Fermium Flea 2019-06-06 14:45:07 +02:00
config lib/db: Use different defaults for larger databases (fixes #5966) (#5967) 2019-08-20 09:41:41 +02:00
connections lib/connections: Improve write rate limiting (fixes #5138) (#5996) 2019-09-04 11:12:17 +01:00
db build: Upgrade github.com/gogo/protobuf (#5994) 2019-09-04 07:33:29 +01:00
dialer all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
discover build: Upgrade github.com/gogo/protobuf (#5994) 2019-09-04 07:33:29 +01:00
events all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
fs lib/fs: Use gopsutils for disk usage (#5905) 2019-07-29 20:06:17 +02:00
ignore lib/ignore: Don't crash in partial #include line (ref #5985) (#5986) 2019-08-30 11:36:31 +02:00
locations all: Remove potentially problematic errors from panics (fixes #5839) (#5912) 2019-07-31 10:53:35 +02:00
logger all: Get rid of fatal logging (#5537) 2019-02-14 20:29:14 +00:00
model lib/model: Correctly handle manual rescan with ignore error (fixes #5985) (#5987) 2019-08-30 13:27:26 +01:00
nat lib/model, lib/nat: More service termination speedup (#5884) 2019-07-23 10:49:22 +02:00
osutil lib/model: Don't panic on failed chmod-back on directory (fixes #5836) (#5896) 2019-07-28 10:25:05 +02:00
pmp all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
protocol build: Upgrade github.com/gogo/protobuf (#5994) 2019-09-04 07:33:29 +01:00
rand lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
rc test: Get integration tests up to speed (config, build and test fixes) (#5962) 2019-08-20 10:17:11 +02:00
relay lib: Ensure timely service termination (fixes #5860) (#5863) 2019-07-19 19:40:40 +02:00
scanner lib/model, lib/scanner: Pass a valid event logger (fixes #5970) (#5971) 2019-08-21 08:05:43 +02:00
sha256 all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats lib/db: Refactor: use a Lowlevel type underneath Instance (ref #5198) (#5212) 2018-10-10 11:34:24 +02:00
stun Add NATSymmetricUDPFirewall to punchable NATs (#5931) 2019-08-06 12:26:02 +01:00
sync all: Even more boring linter fixes (#5501) 2019-02-02 11:45:17 +01:00
syncthing lib/db: Use different defaults for larger databases (fixes #5966) (#5967) 2019-08-20 09:41:41 +02:00
testutils lib/model, lib/testutils: Test closing a connection on folder restart (#5707) 2019-05-18 08:53:59 +02:00
tlsutil lib/tlsutil: Remove hardcoded curve preferences (fixes #5940) (#5942) 2019-08-11 19:01:57 +02:00
upgrade lib/upgrade: Include browser_download_url field 2019-08-29 16:10:13 +02:00
upnp lib/upnp: Don’t log unknown device types (fixes #5038) (#5087) 2018-07-30 16:34:35 +02:00
ur lib/ur: Prevent trivial race in CPU bench 2019-08-25 23:43:28 +02:00
util lib: Ensure timely service termination (fixes #5860) (#5863) 2019-07-19 19:40:40 +02:00
versioner lib/versioner: Replace multiple placeholders in a single token in external command (fixes #5849) 2019-07-12 08:45:39 +01:00
watchaggregator all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
weakhash lib/scanner: Use standard adler32 when we don't need rolling (#5556) 2019-02-25 13:29:31 +04:00