Philip O'Toole
1b2e4612f7
Add system-level restart test ( #707 )
...
Add system-level restart test
4 years ago
Philip O'Toole
ee64fa3e80
Merge pull request #686 from rqlite/mixed_params
...
Test mixing parameterized and non-parameterized queries
4 years ago
Philip O'Toole
9ba6a71789
End-to-end test mixed queries
4 years ago
Philip O'Toole
0b14265d5f
Add on-disk end-to-end test
4 years ago
Philip O'Toole
d8ab494e92
Test snapshotting in a simpler manner
...
The previous way is to racy.
4 years ago
Philip O'Toole
cf7a9e41e4
Add parameterized query testing to end-to-end
4 years ago
Philip O'Toole
42083aa36d
Include comment re load API
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
1981770b71
Add SQL injection demonstration tests
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
231b99b1a0
Test protocol during redirect testing
4 years ago
Philip O'Toole
30e0780b88
Add a little more testing
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
dcc88a5e54
Bump wait-for-snap timeout to 10 seconds
...
Don't fully understand (yet) why we need to wait this long.
4 years ago
Philip O'Toole
65ebe8a1b9
Better Exception message if snap test fails
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
67e4ff6ff5
Add end-to-end non-voter follows leader test
5 years ago
Philip O'Toole
81f5f6faf1
Add support for non-voting nodes
...
A non-voting node doesn't participate in Raft consensus, but does
subscribe to the committed log entries originating with the leader.
This means a non-voting node keeps up-to-date with the state machine,
without impacting write-latency. These non-voting nodes can provide
read scalability for the cluster.
5 years ago
Philip O'Toole
f71b587392
Delete end_to_end.sh
...
Remove obsolete test file
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
a4b0645ff7
Remove non-applicable test
5 years ago
Philip O'Toole
dd0162b6da
Remove old files
5 years ago
Philip O'Toole
0d0d5e6fa3
Add Python end-to-end test
5 years ago
Philip O'Toole
657c76e376
Correct GoDoc comment
7 years ago
Philip O Toole
653a850dfc
Add multi-table SELECT unit test
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
ebfa38d726
Move to clearer command-line options
7 years ago
Philip O'Toole
4b3fd92b67
Add end-to-end for TLS testing
7 years ago
Philip O'Toole
7d4cd5034e
Make end-to-end test more explicit
8 years ago
Philip O Toole
2b34ae3ca6
Rename system package doc file
8 years ago
Philip O Toole
4c8e526198
Correct system doc
8 years ago
Philip O'Toole
5b9dba7a30
Create system_test.go
8 years ago
Philip O'Toole
5f0f89b61c
Update helpers.go
8 years ago
Philip O'Toole
6449486a98
Update helpers.go
8 years ago
Philip O'Toole
276814bb61
Tweak end-to-end quick script
8 years ago
Philip O'Toole
8b3665b29c
Add script for quick 3-node cluster test
8 years ago
Philip O Toole
75f21718f9
Remove no-longer-valid INSERT test
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
dbbe72dd4a
Improve test comment
8 years ago
Philip O'Toole
dc00254cdc
Remove repeated statement in tests
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
6085e7f3c1
Unit test DROP TABLE
8 years ago
Philip O'Toole
2e3535e98f
Typo in comment
8 years ago
Philip O'Toole
496a1df435
More single-node system tests
...
These tests check some error-handling situations.
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
d5e2bfadbc
Add GoDoc to tests
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