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