Philip O'Toole
662008d49c
System-level test of cluster recovery
3 years ago
Philip O'Toole
e0e2572464
More testing and docs for /readyz
3 years ago
Philip O'Toole
dd71c07c73
ABL
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
e64c1a086a
Initial test, doesn't work
3 years ago
Philip O'Toole
373f78b0fe
System-level tests build
3 years ago
Philip O'Toole
bfacedb0e7
Fix system-level testing
3 years ago
Philip O'Toole
fda093b073
Remove reference to DSN in system test
3 years ago
Philip O'Toole
8dc8788f37
ABL
3 years ago
Philip O'Toole
b6e0f46f30
Support non-voting nodes optionally in nodes/
3 years ago
Philip O'Toole
4cff27f91f
Fix bugs in Goroutine logic
...
Testing never fails to produce results.
3 years ago
Philip O'Toole
7218a40ed1
Cluster system test for nodes/
...
It's failing however.
3 years ago
Philip O'Toole
0d533dfa4c
Some cleanup
3 years ago
Philip O'Toole
30d4d63ebb
System tests pass
3 years ago
Philip O'Toole
38b2abca84
Remove older TCP transport code
...
Still unclear about whether tn.Open() is required with new mux.
3 years ago
Philip O'Toole
8e918ceb55
System testing of internode encryption
3 years ago
Philip O'Toole
8276ec653b
Fix up system test
3 years ago
Philip O'Toole
f9df604efc
Test concurrent requests with compression on
3 years ago
Philip O'Toole
3d3bbabaeb
Direct HTTP requests to avoid races during testing
3 years ago
Philip O'Toole
73663ccc58
Shutdown gracefully to prevent races
...
See https://app.circleci.com/pipelines/github/rqlite/rqlite/428/workflows/794131c2-372b-4fb0-8c92-6e3dc0709cb9/jobs/4512
4 years ago
Philip O'Toole
dbcaec623c
Update helpers.go
4 years ago
Philip O'Toole
51c745ea23
More in-mem and on-disk system test
4 years ago
Philip O'Toole
8049d35431
More tests
4 years ago
Philip O'Toole
ae16a65d8d
Handle snapshots with database data
...
This shouldn't happen normally, but technically could.
4 years ago
Philip O'Toole
91d2506ca9
Transport creation convenience functions
4 years ago
Philip O'Toole
a4f1d14eb9
Refactor some tests for future use
4 years ago
Philip O'Toole
72ae509389
Consolidate helper functions
4 years ago
Philip O'Toole
1b2e4612f7
Add system-level restart test ( #707 )
...
Add system-level restart test
4 years ago
Philip O'Toole
cf469ff750
Merge branch 'master' into support_param_queries
4 years ago
Philip O'Toole
74cfa96c62
Derace Multi-node snapshot test
4 years ago
Philip O'Toole
ac862e4091
Add system test for parameterized statements
...
Fix some bugs along the way too.
4 years ago
Philip O'Toole
c9de4c2941
Test node supports enabling HTTPS
4 years ago
Philip O'Toole
c4e127c467
Refactor tests to use common node start code
4 years ago
Philip O'Toole
ef6b81d832
Function for bringing up encryted test node
4 years ago
Philip O'Toole
998c951d16
Extensive testing of Raft snapshots and log truncation ( #639 )
...
Extensive testing of Raft snapshots and log truncation
Added both system-level tests and end-to-end tests.
5 years ago
Philip O'Toole
abb7772105
Support leader freshness with None consistency
...
This change allows the read request to specify the maximum time the node
receiving the request may have last heard from the cluster leader. It
only applies to a read consistency selection of None.
5 years ago
Philip O'Toole
f57ace7da2
Broadcast Store meta via standard consensus
...
With this change the cluster metadata (arbitrary key-value data associated with each node) is now broadcast across the cluster using the standard consensus mechanism. Specifically the use case for this metadata is to allow all nodes know the HTTP API address of all other nodes, for the purpose of redirecting requests to the leader.
This change removed the need for multiplexing two logical connections
over the single Raft TCP connection, which greatly simplifies the
networking code generally.
Original PR https://github.com/rqlite/rqlite/pull/434
5 years ago
Philip O'Toole
8a0e1ce8f0
Move to Hashicorp Raft v1
5 years ago
Philip O'Toole
657c76e376
Correct GoDoc comment
7 years ago
Philip O Toole
cec32298cd
Support multiple queries in system testing
7 years ago
Philip O Toole
6d644a4f64
Enable expvar endpoint for testing
7 years ago
Philip O Toole
16d33255a3
Remove blank line
7 years ago
Philip O Toole
48ff96027c
Go fmt
7 years ago
Philip O Toole
787a6b1c7d
Check JSON validity of endpoint output
7 years ago
Philip O Toole
5060e318b7
Add test coverage for some endpoints
7 years ago
Philip O'Toole
5f0f89b61c
Update helpers.go
8 years ago
Philip O'Toole
6449486a98
Update helpers.go
8 years ago
Tycho Andersen
326ca757d7
add an API for using custom raft.PeerStore/log.Logger
...
This is useful in case the server needs to store other metadata (e.g. auth
data) along side the peer list.
The logging bit is handy in case something has its own logging framework
that it wants to use.
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Philip O'Toole
e9dac9ad1b
Minor refactor of system test utilities
8 years ago
Philip O'Toole
db7af9fb00
Correct typo in comment
8 years ago
Philip O'Toole
2e3535e98f
Typo in comment
8 years ago
Philip O'Toole
e57e5536be
Add system test helper function Remove()
8 years ago
Philip O'Toole
5cef5dcc7e
Add some cluster-level helpers
...
Leader forwarding cannot be fully tested yet, as it needs the cluster
service also instantiated.
9 years ago
Philip O'Toole
fac48629bc
Start initial integration of mux ( #109 )
...
Integrate TCP mux with cluster and store
This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O Toole
5aefda9983
Move to new rqlite org
9 years ago
Philip O'Toole
fb5e3c99d3
Bring system-testing into line with new DB layer
9 years ago
Philip O Toole
1d42e24e6d
System test GoDoc fixes
9 years ago
Philip O'Toole
7fd7a9a385
Finish multi-node cluster testing
9 years ago
Philip O'Toole
668f1d96ee
3-node cluster-level testing
9 years ago
Philip O'Toole
e0ccd4bd68
Add first cluster-level test
9 years ago
Philip O'Toole
062f3ff5ba
Expose Raft address during system test
9 years ago
Philip O'Toole
a5ccbede25
More helper functions
9 years ago
Philip O'Toole
12ca0006f0
GoDoc updates
9 years ago
Philip O'Toole
af7c0cb1d6
Add system-level single-node test
9 years ago