Philip O'Toole
53e0666c9e
More HTTP-level unit testing of readyz?commit
7 months ago
Philip O'Toole
c08e029717
Unit test readyz?commit at HTTP level
7 months ago
Philip O'Toole
45f0ca7414
Hook in commit flag to /readyz
7 months ago
Mauri de Souza Meneguzzo
ade1ffdeef
use t.Run for query param tests
8 months ago
Mauri de Souza Meneguzzo
993e91eb12
code review fixes
8 months ago
Mauri de Souza Meneguzzo
a9ed45b68d
add support for sql query timeout
8 months ago
Philip O'Toole
77ce0867bb
Allow HTTP client to control number of retries
8 months ago
Philip O'Toole
2f3b6fffae
No apparent "problems"
9 months ago
Philip O'Toole
5c5b226303
Working
9 months ago
Philip O'Toole
ad916270d2
Bring go mod import path into compliance
9 months ago
Philip O'Toole
78566ea45e
Add handler for /boot
9 months ago
Philip O'Toole
e6b703a0c0
Remove ability to trigger chunked-loading
...
The low-level Raft system still recognizes the Chunk command, so that
this system can interop with older versions, which might still have a
Chunk command in logs.
9 months ago
Philip O'Toole
c81c3d1e52
Remove unused function
9 months ago
Philip O'Toole
72db972965
Fix more HTTP tests
9 months ago
Philip O'Toole
6339ece258
Fix HTTP test
9 months ago
Philip O'Toole
3cc47bceee
Revert to simpler one-shot load for SQLite files
9 months ago
Philip O'Toole
0df55b6d2f
Fix all HTTP tests
9 months ago
Philip O'Toole
384ebab5f7
Refactor query parameters into own code
...
Makes rest of HTTP code cleaner.
9 months ago
Philip O'Toole
2c57bfa99d
Unit test DoRedirect
10 months ago
Philip O'Toole
3a0f776e57
Refactor redirect
10 months ago
Philip O'Toole
0c4fe7c8ac
Fix test
10 months ago
Philip O'Toole
5c7996fd98
Support optional VACUUM on backup
10 months ago
Philip O'Toole
e64c4f6d81
Precheck test URLs
10 months ago
Philip O'Toole
64b00e3a7f
Correct, and improve, HTTP URL unit tests
10 months ago
Philip O'Toole
312d27778b
Remove obsolete Join and Notify HTTP unit tests
10 months ago
Philip O'Toole
cfd3a7f6a7
Some small changes related to new CORS support
10 months ago
Kai O'Reilly
f1d8fe6770
support accessing rqlite in browsers by setting appropriate Access-Control-Allow headers and handling OPTIONS requests
10 months ago
Philip O'Toole
3172ce83cc
Remove obsolete test
1 year ago
Philip O'Toole
e050b9d05f
Always-on expvar and pprof
1 year ago
Philip O'Toole
4c41cfed8b
Some tweaks
1 year ago
Philip O'Toole
1107690c52
Migrate HTTP layer to chunked loading
1 year ago
Philip O'Toole
1a7af225f2
Unit test ExecuteQuery
1 year ago
Philip O'Toole
7ee6036476
/db/request compiles and all existing tests pass
1 year ago
Philip O'Toole
2e140af463
Some unit tests of /db/request path
1 year ago
Philip O'Toole
57ca03014b
More integration and testing of Store readiness
1 year ago
Philip O'Toole
ff001bc5a8
Migrate to a Protos data model for Notify Requests
2 years ago
Philip O'Toole
a782513a11
Migrate to a join-request proto
2 years ago
Philip O'Toole
cb1b398f76
ABL
2 years ago
Philip O'Toole
828acadb0c
Move HTTP TLS testing to own file
2 years ago
Philip O'Toole
98575d727b
Start adding remote remove node
...
More testing, including unit testing, required.
2 years ago
Eng Zer Jun
5141eff5fc
test: use `T.TempDir` to create temporary test directory
...
This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `ioutil.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2 years ago
Philip O'Toole
3a261ce16e
Unit test remote load error handling
2 years ago
Philip O'Toole
5a3c639164
Fix HTTP unit tests
2 years ago
Philip O'Toole
06e098e41a
Mostly better logging
2 years ago
Philip O'Toole
eee9541545
Merge remote-tracking branch 'origin' into resolve-notifier
2 years ago
Philip O'Toole
b0f17b86c7
Notified node checks address resolution
...
If a non-resolvable address is passed to the Store, and then Store then
adds that to the config, it can result in a cluster that seems to have
insufficient members (since the remote node can't be contacted). This
may trigger a new leader election.
2 years ago
Philip O'Toole
9d9ffba7e2
Restoring via follower should have same response
2 years ago
Philip O'Toole
b978e3857d
More HTTP-level testing of Load
2 years ago
Philip O'Toole
27587634c6
Hook in HTTP layer
2 years ago
Philip O'Toole
8a69aa53aa
HTTP-level unit testing of remote backup
2 years ago