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
2e7c26f4b2
Create request body correctly during testing
3 years ago
Philip O'Toole
a9748acdee
Help with better testing
3 years ago
Philip O'Toole
d64b6e140a
Append non-list as object
3 years ago
Philip O'Toole
2f3382fea6
End-to-end named parameter testing
3 years ago
Philip O'Toole
5ce51bc2ba
Better comments
3 years ago
Philip O'Toole
ddde0b1447
Write one more entry to log to force set fsm_index
3 years ago
Philip O'Toole
64be88fd9c
More waits and Python3 work
3 years ago
Philip O'Toole
c572be9a02
More detail exception message
3 years ago
Philip O'Toole
be5ef533cc
Wait until node applies all leader's entries
3 years ago
Philip O'Toole
37ff662f71
Wait for FSM in snap test
3 years ago
Philip O'Toole
9143172c1c
DRY up test
3 years ago
Philip O'Toole
3ef3a5369b
End-to-end cluster-recovery test
3 years ago
Philip O'Toole
bc8e16328c
Use proper string compare in end-to-end testing
3 years ago
Philip O'Toole
e0e2572464
More testing and docs for /readyz
3 years ago
Philip O'Toole
c254603eaa
Reraise HTTP exceptions
3 years ago
Philip O'Toole
0e50ab255d
Better HTTP logging during end-to-end tests
3 years ago
Philip O'Toole
0b5d80c604
Add Error information to nodes/ output
3 years ago
Philip O'Toole
33073bc63c
Move test to different place
3 years ago
Philip O'Toole
548527a59d
Add e2e test for nodes/
3 years ago
Philip O'Toole
961a31149b
Strong query test
3 years ago
Philip O'Toole
bf003e4f40
Better test comments
3 years ago
Philip O'Toole
7b2e711c73
Remove constraint check
...
It's too clever, and causing test practicality issues.
3 years ago
Philip O'Toole
6fd775b1d7
End-to-end testing of request forwarding
3 years ago
Philip O'Toole
db938f420f
Cleaner control during e2e testing
3 years ago
Philip O'Toole
ffec37fa88
Test end-to-end pretty queries
3 years ago
Philip O'Toole
b8d72f3fc4
New DB and FSM indexes to track state
3 years ago
Philip O'Toole
4c49fc6c29
End-to-end test new join metrics
3 years ago
Philip O'Toole
950062329f
Test rejoining with changed network addresses
3 years ago
Philip O'Toole
e91f0e16e7
Simplify join end-to-end testing
...
Test now just makes sure stuff doesn't blow up. Need more extensive
testing of this operation.
3 years ago
Philip O'Toole
2837713c40
Don't always run leader-constraint check
...
Some testing involves changing leaders, and some API checks will be
inherently racy.
3 years ago
Philip O'Toole
166bddab8b
Add API adv test
3 years ago
Philip O'Toole
37995908e5
Add end-to-end test of redirected join via follower
3 years ago
Philip O'Toole
87c9f81a07
Fix comment
3 years ago
Philip O'Toole
5d8fafab98
Get nodes/ for all nodes.
...
It makes testing easier, and this flag is tested in unit tests.
3 years ago
Philip O'Toole
ffa23d1dae
End-to-end testing of nodes/ API
3 years ago
Philip O'Toole
e5c80faa0c
Fix pydoc
3 years ago
Philip O'Toole
dbd1c0a254
Remove 'redirect' from HTTP status
...
Getting the redirect information requires accessing other nodes, which
could block if those nodes are not up.
3 years ago
Philip O'Toole
83c15368fa
Check if node has attributes before deprovision
4 years ago
Philip O'Toole
2e19df93de
Correct comment
4 years ago
Philip O'Toole
8dbd2678dd
More end-to-end snapshot and restore testing
4 years ago
Philip O'Toole
be0286fd4b
More extensive end-to-end snapshot testing
4 years ago
Philip O'Toole
56cb9321d2
End-to-end test of idempotent join
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