Philip O'Toole
5a4e19d9fa
More upgrade testing
1 year ago
Philip O'Toole
ce53821c87
Use t.Run() to test upgrades
1 year ago
Philip O'Toole
ce2e773923
Update auto_clustering.py
1 year ago
Philip O'Toole
2f858400b5
End-to-end testing of bootstrap-join restart
1 year ago
Philip O'Toole
73c526949e
More end-to-end testing of removal-on-shutdown
1 year ago
Philip O'Toole
2f87a0c117
Add Request associative test
1 year ago
Philip O'Toole
19c5a720d8
Final system-level multi-node forwarding tests
1 year ago
Philip O'Toole
b284b04f85
System-level multi-node request tests
1 year ago
Philip O'Toole
a7efd9721c
Add simple end-to-end test of unified endpoint
1 year ago
Philip O'Toole
6869d49983
Add system-level Request tests
1 year ago
Philip O'Toole
46befb8dad
Add some end-to-end Python code
1 year ago
Philip O'Toole
6f7a0932a1
Better name for test
1 year ago
Philip O'Toole
d5c72e0cd5
End-to-end test of cluster-remove on shutdown
1 year ago
Philip O'Toole
63ace34a95
Fix PyDoc
1 year ago
Philip O'Toole
8ceb89cade
End-to-end auto-restore of compressed file
1 year ago
Philip O'Toole
10bde7c946
End-to-end auto-restore of noncompressed
1 year ago
Philip O'Toole
50c323a920
Auto-state testing now
1 year ago
Philip O'Toole
3fe836ed29
Initial S3 upload code for end-to-end testing
1 year ago
Philip O'Toole
78d1b971f6
Move testPoll to helpers
...
There are dupe functions here, oh well.
1 year ago
Philip O'Toole
b8d78b25df
Add system-level, single-node, auto-restore test
1 year ago
Philip O'Toole
57ca03014b
More integration and testing of Store readiness
1 year ago
Philip O'Toole
3d6f9a2673
More e2e upload testing
1 year ago
Philip O'Toole
1a2e0a4a45
Add compression support for uploads
1 year ago
Philip O'Toole
c9d73e2f89
Remove some magic strings
1 year ago
Philip O'Toole
7584145c63
End-to-end S3 backup test looks good
1 year ago
Philip O'Toole
bdeff26b73
Refactor AWS S3 tests
1 year ago
Philip O'Toole
c273ac5bbc
Revert "Force test fail"
...
This reverts commit f6866efe8e
.
1 year ago
Philip O'Toole
f6866efe8e
Force test fail
1 year ago
Philip O'Toole
a81b68b469
Better comment
1 year ago
Philip O'Toole
2bd75e38ee
Support writing bytes
1 year ago
Philip O'Toole
e7171b914e
Download S3 object and check
1 year ago
Philip O'Toole
2c9dcec40b
It's Python, not Go
1 year ago
Philip O'Toole
d8d41ae9e4
JSON dumps
1 year ago
Philip O'Toole
b558608188
Dump config file
1 year ago
Philip O'Toole
f45d85599a
Simpler path
1 year ago
Philip O'Toole
aa5001d5d1
Fix key name (again)
1 year ago
Philip O'Toole
35b3a157dc
Try an actual upload test
1 year ago
Philip O'Toole
ca2ac4b1ba
Add support to helpers for auto-backup
1 year ago
Philip O'Toole
161a5ce569
Fix up key names
1 year ago
Philip O'Toole
4164ea8390
Initial test of CircleCI environment variables
1 year ago
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