1
0
Fork 0

472 Commits (master)

Author SHA1 Message Date
Philip O'Toole 097382001d Join and Notify set credentials 10 months ago
Philip O'Toole 41fb5d5a1a Remove blank line 10 months ago
Philip O'Toole 2341a77a0c Allocate addresses which have never been allocated
Previously there was a very small chance that random_addr() would return
an address that had just been handed out previously. This would cause
random test failures.

See https://app.circleci.com/pipelines/github/rqlite/rqlite/3463/workflows/24f6f66c-5ac3-463d-8233-6c01b6d23a25/jobs/23213
10 months ago
Philip O'Toole e2c2a3f0d2
Don't wait for leader
Killing the leader, when the only other node is a read-only node, will not result in a new leader.
10 months ago
Philip O'Toole ea80fa29cf
Use APIProtoAddr 10 months ago
Philip O'Toole 129827d092 Reenable a test 10 months ago
Philip O'Toole c47f364369 More e2e join address fixes 10 months ago
Philip O'Toole 246556be9c More use of TLS client 10 months ago
Philip O'Toole c52d94e26e Allow test nodes to enable TLS client 10 months ago
Philip O'Toole e6fb72c5b3 Differentiate between "not leader" and "no leader"
Needed to handle redirected join properly
10 months ago
Philip O'Toole 12c20a99c5 Move system testing to Raft Join and Notify 10 months ago
Philip O'Toole 2da8a76060 Comment out auth join test for now 10 months ago
Philip O'Toole 0692e138ad Update E2E for Raft port join 10 months ago
Philip O'Toole ec789840c0 Start moving e2e tests to Raft joins 10 months ago
Philip O'Toole 0d959f174e Fix system-level testing of Bootstrapping 10 months ago
Philip O'Toole 4e5fd30be6 Even less-intensive tests 1 year ago
Philip O'Toole 2fff800273 Substantially shrink Test_MultiNodeClusterLargeQueuedWrites 1 year ago
Philip O'Toole c80ba4907f Revert 1 year ago
Philip O'Toole 10b003a5e0 Bump election timeout
Still seeing unexplained elections on CI. Let's try one more increase.
1 year ago
Philip O'Toole 2ecb01b2a3 QueryNone may take a second to reach consistency 1 year ago
Philip O'Toole c9e97ac546 Comments 1 year ago
Philip O'Toole bf3baee9be Tigthen up test code 1 year ago
Philip O'Toole 61697967c7 Fix up test 1 year ago
Philip O'Toole d78d2f4d9d Short circuit EOF from decompressor
The gzip NewReader() seems to hang sometimes when reopened with the old
reader. Therefore just record that we have closed, and never reopen it.
1 year ago
Philip O'Toole 23fc66c50b Test improvements 1 year ago
Philip O'Toole cb384a9df2 More test tweaks 1 year ago
Philip O'Toole d5bdaa9214 Tighten up helper function 1 year ago
Philip O'Toole 73f9df5283 More end-to-end leader checks 1 year ago
Philip O'Toole f3c24cdac2 Give time for Store to open
https://app.circleci.com/pipelines/github/rqlite/rqlite/3300/workflows/b903b7eb-fbd7-417c-84af-fdf2189acde3/jobs/20719
1 year ago
Philip O'Toole 20e6a39c1b Add debug for failing test
https://app.circleci.com/pipelines/github/rqlite/rqlite/3299/workflows/34577edb-32c8-4a00-8e59-723c0e6f3272/jobs/20692
1 year ago
Philip O'Toole 3315d6f91f Expand end-to-end snapshot testing 1 year ago
Philip O'Toole 7a8d88756c WIP snapshot upgrade 1 year ago
Philip O'Toole d6aff672e2 Re-enable snapshot-less upgrade-from-7 testing 1 year ago
Philip O'Toole fbd6c3d987 Merge remote-tracking branch 'origin' into remove-ott-compression-controls 1 year ago
Philip O'Toole b9d323dc53 Fix test while I'm at it
https://app.circleci.com/pipelines/github/rqlite/rqlite/3269/workflows/2705ed09-1155-49ac-b320-7867341e3484/jobs/20205
1 year ago
Philip O'Toole 10d2f36474 Remove more flag setting 1 year ago
Philip O'Toole cb989d09a2 Some changes from PR v2 1 year ago
Philip O'Toole 76867a682f Time FSM snapshot creation 1 year ago
Philip O'Toole c6dcad60f8 Remove more on-disk references 1 year ago
Philip O'Toole 911696ce4f Remove more references to on-disk testing 1 year ago
Philip O'Toole ac34308d56 Remove explicit on-disk testing from end-to-end 1 year ago
Philip O'Toole b931e387be First pass at removing in-memory support 1 year ago
Philip O'Toole 35976fc33a Increase election timeout during testing
CI systems might be a bit slower.
1 year ago
Philip O'Toole d9abc8f61b Remove obsolete option from end-to-end testing 1 year ago
Philip O'Toole 5df129ff20 Remove no-longer supported command-line options 1 year ago
Philip O'Toole 2cbeac07db Fix even more tests 1 year ago
Philip O'Toole fbb2aea787 Missed these test fixes 1 year ago
Philip O'Toole e845e0c243 Fix remaining expression test cases 1 year ago
Philip O'Toole 51cf7f3531 Don't insert records if already in database
When running on Windows this test often encounters ErrLeadershipLost, at
least in the AppVeyor CI environment. This means that INSERT may, or may
not, be actually inserted into the SQLite database. As a result change
this test to use explicit primary keys, so that if the records were
actually inserted, the duplicate records will not be inserted (by also
using the SQLite keyword IGNORE).

See https://github.com/rqlite/rqlite/issues/1123 for more information.
1 year ago
Philip O'Toole 4f9b4ec7b9 Better error logging during testing 1 year ago
Philip O'Toole 735c4cbc19 Actually check HTTP status codes 1 year ago
Philip O'Toole 62fd272897 Fix up logging 1 year ago
Philip O'Toole 3d370a4840 Make test simpler 1 year ago
Philip O'Toole f7b503c1ab More testing of e2e bootstrapping 1 year ago
Philip O'Toole e5e8d19a71 End-to-end testing of 5-node bootstrapping 1 year ago
Philip O'Toole 35e4979673 Tweak test, remove raciness?
https://app.circleci.com/pipelines/github/rqlite/rqlite/2947/workflows/0cc343c8-83f3-415a-a652-7cccbc9904b3/jobs/15281
1 year ago
Philip O'Toole a17546fd19 Add actual v7.20.3 testdata 1 year ago
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