Philip O'Toole
3da00b719f
Skip Test_MultiNodeClusterLargeQueuedWrites on Windows
...
This is not great, but extensive testing on Windows has not been successful yet, so skip this test for now.
1 year ago
Philip O'Toole
bfa18531aa
Fix long-existing typo
1 year ago
Philip O'Toole
b9f03d00d4
AppVeyor config improvements
1 year ago
Philip O'Toole
aab6cbf96f
Adv tests into own file
1 year ago
Philip O'Toole
1a29e25ca9
Separate autoclustering tests
1 year ago
Philip O'Toole
a98cd6e8c3
Split joining tests into own file
1 year ago
Philip O'Toole
12aa97de41
Try splitting end-to-end testing
1 year ago
Philip O'Toole
6b09bcba13
Move Python end-to-end to own directory
1 year ago
Philip O'Toole
ac1a8b609b
Correct Python False
1 year ago
Philip O'Toole
b5dea04b7e
Update helpers.go
1 year ago
Philip O'Toole
8bd5d32982
Put some exception handling back in
2 years ago
Philip O'Toole
4f3d183822
More voter-status checking
2 years ago
Philip O'Toole
2f5ab451f1
End-to-end test of voter status
2 years ago
Philip O'Toole
2730fa06e5
Empty config means not a voter
2 years ago
Philip O'Toole
832170fcd3
System-level testing of voter status
2 years ago
Philip O'Toole
5636febf9a
Add IsVoter() and add to status/ output
2 years ago
Philip O'Toole
41bf265b02
Fix more handling of nil named values
2 years ago
Philip O'Toole
5ccbde5a0c
ABL
2 years ago
Philip O'Toole
c3138c27dc
Fix system-level Bootstrap test
2 years ago
Philip O'Toole
3e84139290
Default to mutual TLS off for node-to-node
2 years ago
Philip O'Toole
ba39227c93
Move to a single cert-key pair for nodes
2 years ago
Philip O'Toole
50d70b547e
Fix system-level tests
2 years ago
Philip O'Toole
673fd8cade
More use of central TLS config
2 years ago
Philip O'Toole
1cde8464bf
Small refactor of system testing helper
2 years ago
Philip O'Toole
6d9b9d42c4
Reset Queue stats
2 years ago
Philip O'Toole
442ba5448c
ResetStats before large queue testing
2 years ago
Philip O'Toole
5364af6dbf
Fix missing }
2 years ago
Philip O'Toole
1877bcc7ff
Support keyed fetches of expvar information
2 years ago
Philip O'Toole
3efce1aa2b
End-to-end remote remove node
2 years ago
Philip O'Toole
2e56d22526
RemoveNode cluster-level unit test
2 years ago
Philip O'Toole
bfc35eaf7c
Simplify reap command line flags ( #1118 )
...
Simplify reap command line flags
2 years ago
Philip O'Toole
16ee5f5e57
Fix, and enhance, end-to-end associative query test
2 years ago
Philip O'Toole
11bb02da1d
Simple end-to-end associative form test
2 years ago
Philip O'Toole
e74bfc182a
Use new Encoder everywhere
2 years ago
Philip O'Toole
07620cab41
Reap nodes ( #1114 )
...
Support automatic reaping of nodes
2 years ago
Philip O'Toole
c3997fa037
Refactor upgrade testing
2 years ago
Philip O'Toole
055365b751
Add more upgrade tests
2 years ago
Philip O'Toole
81cc80936d
Ensure randomly selected addresses can't be reused
...
Address https://app.circleci.com/pipelines/github/rqlite/rqlite/2021/workflows/d7cee6c4-9dc1-45ad-af66-eb17622f9b13/jobs/9171?invite=true#step-109-111
2 years ago
Philip O'Toole
377d39386a
Correctly check PIDs are all different
2 years ago
Philip O'Toole
0071867e34
Don't call t.Fatal() from goroutine
...
It wouldn't abort the test anyway, so just log.
2 years ago
Philip O'Toole
37687c1ff2
Correct test output
2 years ago
Philip O'Toole
36eeb2e06a
Fully fix rookie mistake
2 years ago
Philip O'Toole
e204c0b1ad
Fix rookie mistake
2 years ago
Philip O'Toole
9e4fc80216
Tidy up
2 years ago
Philip O'Toole
8f41cbef23
Refactor large Queued Writes test
2 years ago
Philip O'Toole
8f89c6a8ba
Add larger concurrent Queued Writes test
2 years ago
Philip O'Toole
d333a28a3f
wait_for_leader needs logging flexibility
2 years ago
Philip O'Toole
d649d16ab7
HTTP server now up faster, Store may not be ready
2 years ago
Philip O'Toole
fe5d21ef57
Dump log if node fails to start during testing
2 years ago
Philip O'Toole
4942292490
More system-level bootstrap testing
2 years ago
Philip O'Toole
2cfabf3a32
Update test function prototypes
2 years ago
Philip O'Toole
25085c13cf
Extend liveness testing
2 years ago
Philip O'Toole
7b142a7f90
Fix end-to-end restore test
2 years ago
Philip O'Toole
40c3cf03bf
Add (currently failing) end-to-end restore test
2 years ago
Philip O'Toole
eb5519eb13
Correct node ID in test
2 years ago
Philip O'Toole
3cc6593ec7
Remove unneeded node params
2 years ago
Philip O'Toole
f7800633ea
More end-to-end backup testing
2 years ago
Philip O'Toole
f652adc2e0
End-to-end testing of remote backup fetch
2 years ago
Philip O'Toole
df96475511
End-to-end named parameter Null
2 years ago
Philip O'Toole
711584c865
End-to-end test for Null parameter
2 years ago
Philip O'Toole
221907f8a9
Support nil as paramterized values
2 years ago
Philip O'Toole
95dfead226
Integrate SQL rewrite with rqlite for RANDOM ( #1046 )
2 years ago
Philip O'Toole
aed4028c5e
Remove unneeded test code
2 years ago
Philip O'Toole
fb159f6d6e
Use NO_CREDS
2 years ago
Philip O'Toole
f7958da1a9
More use of cluster.Credentials
2 years ago
Neal Harrington
c0b1b6c762
write some tests, make them pass
2 years ago
Neal Harrington
7cceb822a4
First things
2 years ago
Philip O'Toole
44230c98b5
Allow configurable cluster-connect timeout
...
Fixes https://github.com/rqlite/rqlite/issues/1042
2 years ago
Philip O'Toole
d3bf2d719e
Use a single Response type for HTTP
2 years ago
Philip O'Toole
f6254d3aa1
ABL
2 years ago
Philip O'Toole
a0b0d60df9
Longer queued-write test
2 years ago
Philip O'Toole
dc388c3521
Add queued write load test
2 years ago
Philip O'Toole
53f44f47e6
More testing
2 years ago
Philip O'Toole
ecb640abff
Check that queue and transactions work
2 years ago
Philip O'Toole
1210749e60
Load the queue during end-to-end testing
2 years ago
Philip O'Toole
c8e5a76c78
Fix end-to-end queue wait tests
2 years ago
Philip O'Toole
2fcd934497
End-to-end queued write and wait
2 years ago
Philip O'Toole
bbaee35b83
End-to-end testing of sequence numbers
2 years ago
Philip O'Toole
4d83c6432e
First system-level test for sequence number
2 years ago
Philip O'Toole
543efe0077
Add parameterized queued write test
2 years ago
Philip O'Toole
5e24af2636
Better API shape for queued Executes
2 years ago
Philip O'Toole
78bdf5c36e
End-to-end queue write test
2 years ago
Philip O'Toole
00d71ac7ab
Fix typo
2 years ago
Philip O'Toole
370cc6c36c
Better test polling
2 years ago
Philip O'Toole
5c7aeda86b
Cluster-level test of queued writes
2 years ago
Philip O'Toole
24757559ca
Single-node system testing of queued writes
2 years ago
Philip O'Toole
a6ac6bccfc
Autodetect data format during load operation
2 years ago
Philip O'Toole
a068c39d19
End-to-end test of restore using a SQLite file
2 years ago
Philip O'Toole
c8b9fd72da
Sanity check supplied SQLite data
2 years ago
Philip O'Toole
8e59390c2a
Clean up test resource
3 years ago
Philip O'Toole
47a1b88a64
More end-to-end node encryption testing
3 years ago
Philip O'Toole
2c2be47ede
And end-to-end node encryption test
3 years ago
Philip O'Toole
861347a4be
Update full_system_test.py
3 years ago
Philip O'Toole
a2f1773f33
De-race a snapshot test
3 years ago
Philip O'Toole
168c62edef
Better handling of timeouts
3 years ago
Philip O'Toole
4d9971d6a3
Make end-to-end test less racy
3 years ago
Philip O'Toole
06154aa6e8
Simple end-to-end check of /readyz
3 years ago
Philip O'Toole
bba69d6300
Add support for DNS-based autoclustering ( #979 )
...
New disco-bootstrapping hybrid to autoclustering, which uses DNS A Records to find nodes.
3 years ago
Philip O'Toole
e4a0a5ecca
Possible help for racy (?) end-to-end test
3 years ago
Philip O'Toole
e4fed0cee3
Add bootstrap-expect ( #974 )
...
Add cluster-boostrap
3 years ago
Philip O'Toole
e7046ca560
Better coding of disco-mode names
3 years ago
Philip O'Toole
4aea326959
Consul and etcd autoclustering ( #957 )
...
This PR introduces new node-discovery integration with Consul and etcd. By using one of those systems with rqlite, automatic clustering of rqlite is much easier.
3 years ago
Philip O'Toole
62cf2f44a5
Add simple end-to-end cluster restart test
3 years ago
Philip O'Toole
2208e75188
Fix system-level tests
3 years ago
Philip O'Toole
860999951d
Enhance Authentication and Authorization system ( #940 )
3 years ago
Philip O'Toole
9160928750
Use literal_eval, which is safer
3 years ago
Philip O'Toole
2c8eb6880a
Intepret expected results as dict and comp
...
This was done to migrate from Python2 to Python3, which changed the
order of keys in the dict. This was always fragile, and now dictionaries
are compared instead.
Most of this migration was done using sed, which is a great tool. The
command issued was:
sed 's/self\.assertEqual(str(j), "\(.\+\)")/self\.assertEqual(j, d_("\1"))/'
3 years ago
Philip O'Toole
628f4a044b
First pass at conversion
...
2to3
Added d_ eval-based function
3 years ago
Philip O'Toole
dde1aa5044
Remove u'
3 years ago
Philip O'Toole
4f92d91a63
Use correct MIME media type for JSON
...
https://www.ietf.org/rfc/rfc4627.txt
https://github.com/rqlite/rqlite/issues/933
3 years ago
Philip O'Toole
2e7c26f4b2
Create request body correctly during testing
3 years ago
Philip O'Toole
a9748acdee
Help with better testing
3 years ago
Philip O'Toole
d64b6e140a
Append non-list as object
3 years ago
Philip O'Toole
2f3382fea6
End-to-end named parameter testing
3 years ago
Philip O'Toole
cdf15c172b
System-level single-node named param testing
3 years ago
Philip O'Toole
5ce51bc2ba
Better comments
3 years ago
Philip O'Toole
ddde0b1447
Write one more entry to log to force set fsm_index
3 years ago
Philip O'Toole
64be88fd9c
More waits and Python3 work
3 years ago
Philip O'Toole
c572be9a02
More detail exception message
3 years ago
Philip O'Toole
be5ef533cc
Wait until node applies all leader's entries
3 years ago
Philip O'Toole
37ff662f71
Wait for FSM in snap test
3 years ago
Philip O'Toole
9143172c1c
DRY up test
3 years ago
Philip O'Toole
3ef3a5369b
End-to-end cluster-recovery test
3 years ago
Philip O'Toole
7e81fa88b6
ABL
3 years ago
Philip O'Toole
4446c3b5bd
Explicitly close listeners
3 years ago
Philip O'Toole
eaad57f610
Full cluster-recovery system-level test
3 years ago
Philip O'Toole
662008d49c
System-level test of cluster recovery
3 years ago
Philip O'Toole
bc8e16328c
Use proper string compare in end-to-end testing
3 years ago
Philip O'Toole
e0e2572464
More testing and docs for /readyz
3 years ago
Philip O'Toole
c254603eaa
Reraise HTTP exceptions
3 years ago
Philip O'Toole
dd71c07c73
ABL
3 years ago
Philip O'Toole
0e50ab255d
Better HTTP logging during end-to-end tests
3 years ago
Philip O'Toole
0b5d80c604
Add Error information to nodes/ output
3 years ago
Philip O'Toole
33073bc63c
Move test to different place
3 years ago
Philip O'Toole
548527a59d
Add e2e test for nodes/
3 years ago
Philip O'Toole
d7500c2f5f
Revert to simpler nodes/ system test
...
This is something that will have to be in the end-to-end test.
3 years ago
Philip O'Toole
d45bdfed7f
System-level testing of nodes/
...
Fails right now because there is no way to actually shutdown the node
from answering cluster requests.
3 years ago
Philip O'Toole
e79fe9d372
Fix test comment
3 years ago
Philip O'Toole
7b52753c1b
Close listeners after test
3 years ago
Philip O'Toole
b909cd4f74
Tighthen up Raft advertised testing
3 years ago
Philip O'Toole
a6346ba9d4
Fix unit test -- start muxes
3 years ago
Philip O'Toole
e64c1a086a
Initial test, doesn't work
3 years ago
Philip O'Toole
961a31149b
Strong query test
3 years ago
Philip O'Toole
88b80cffa6
Clearer system-level test
3 years ago
Philip O'Toole
bf003e4f40
Better test comments
3 years ago
Philip O'Toole
7b2e711c73
Remove constraint check
...
It's too clever, and causing test practicality issues.
3 years ago
Philip O'Toole
6e17295913
Group network-related params together
3 years ago
Philip O'Toole
0b8beb6a5d
Implmenet Request Forwarding timeout support
3 years ago
Philip O'Toole
6fd775b1d7
End-to-end testing of request forwarding
3 years ago
Philip O'Toole
c017d11c22
Enable transparent request forwarding
3 years ago