1
0
Fork 0

65 Commits (8ffebeb353d4cac270acb7cde1dbaf94636462ff)

Author SHA1 Message Date
Philip O'Toole 4446c3b5bd Explicitly close listeners 3 years ago
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