Martchus
25ace0eb17
Fix condition to set status to disconnected
2018-10-28 15:39:15 +01:00
Martchus
2862b6fd87
Re-enable all connection tests
2018-10-28 14:38:34 +01:00
Martchus
f380732068
Don't use std::function for handlers in testcode
...
Just use the lambdas directly and make if(handler) check
only if possible.
2018-10-21 21:07:43 +02:00
Martchus
76f214adf1
Ignore test for config too
...
This test randomly fails as well
2018-10-21 00:11:30 +02:00
Martchus
703225b410
Fix/improve CLI tests
...
* Adapt to interleaved output previously enabled in SyncthingTestInstance
* Make it work when verbose output for debugging is enabled
* Show which status line didn't match in case of an failure
* Disable flaky rescan tests in release mode
2018-10-20 23:48:24 +02:00
Martchus
97dab2a959
Disable flaky tests for release
2018-10-20 22:12:26 +02:00
Martchus
2e67e6b2de
Use signals for logAvailable() and qrCodeAvailable()
2018-10-20 22:08:25 +02:00
Martchus
c7bccf023a
Fix tests, make them more stable and verbose
...
Tests still sometimes fail when
* requesting QR code
* requesting rescan
2018-10-18 23:37:29 +02:00
Martchus
407514289a
Fix typo infos -> info
2018-10-18 23:34:02 +02:00
Martchus
d138c6d9d1
Change address of dev in testconfig to something not reachable
...
in my local network - otherwise Syncthing panics for whatever
reason :-/
2018-10-14 23:31:19 +02:00
Martchus
e410991012
Allow logging all API calls
2018-10-14 22:48:52 +02:00
Martchus
db6c8af414
Debug Syncthing crashes during testruns
2018-10-12 00:09:02 +02:00
Martchus
7611ad1c8e
Propose use of SYNCTHING_TEST_TIMEOUT_FACTOR
2018-09-06 22:04:22 +02:00
Martchus
9599dcee81
Increase timeout for applying config
2018-09-06 21:58:41 +02:00
Martchus
7e2eea8523
tests: Increase timeouts, use timeout factor everywhere
2018-08-05 15:20:21 +02:00
Martchus
2fcc94f567
Handle new folder types
...
See https://github.com/syncthing/syncthing/pull/4942
2018-05-12 23:08:57 +02:00
Martchus
72e1377c43
Add tests for syncthingctl
2018-05-01 01:16:20 +02:00
Martchus
819d37eeee
Test dealing with arbitrary config
2018-04-30 21:30:35 +02:00
Martchus
eb70f5a3f4
Fix warnings about unused variables
2017-09-17 20:32:29 +02:00
Martchus
be6d0cbf5d
Don't show own dev in shared devs of dir
2017-08-22 20:44:49 +02:00
Martchus
9b45c49b97
Show names for the devs a dir is shared with
...
(previously only the IDs were shown)
2017-08-22 19:45:07 +02:00
Martchus
ed1b13d43e
Fix rescanning part of connection tests
2017-08-21 01:01:20 +02:00
Martchus
cc6fec91c1
Dump config during connection tests only when enabled
...
by setting environment variable SYNCTHING_TEST_DUMP_CONFIG_UPDATES
2017-08-21 01:00:41 +02:00
Martchus
8f672eef14
connector tests: Remove unused 'this' capture
2017-07-11 19:35:40 +02:00
Martchus
e4a382e4e8
Improve connector tests
...
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
Martchus
ac6150d677
connection tests: Increase all timeouts for resuming/pausing
...
And apply clang-format
2017-07-08 01:17:19 +02:00
Martchus
570c2606f7
connection tests: Increase timeouts for resuming/pausing
2017-07-03 21:56:39 +02:00
Martchus
8fa6da5b9d
connection tests: Ensure dirs and devs are ready
2017-07-03 14:07:20 +02:00
Martchus
da8f6f7353
Apply tidy
2017-07-02 22:08:30 +02:00
Martchus
55757b1e57
connector: Refactor and improve tests
2017-07-02 21:47:59 +02:00
Martchus
2845f5883d
Fix compiling tests under 32-bit arch
2017-06-01 11:11:38 +02:00
Martchus
b1d9df73d1
Apply clang-format
2017-05-04 22:48:45 +02:00
Martchus
40b8713ba6
Move test helper to separate library
...
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00
Martchus
39b23842a8
Fix reconnecting test
2017-03-20 21:19:47 +01:00
Martchus
6c51a470b7
Improve connector tests
...
Still not sure why reconnecting fails with GCC
2017-03-11 18:07:49 +01:00
Martchus
0868f2cf6a
Extend tests of connector library
2017-03-09 23:10:03 +01:00
Martchus
a3887749a5
Test SyncthingConnection class
2017-03-09 02:58:13 +01:00