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
Philip O'Toole
31bba4c577
Move to Backup proto model
2 years ago
Philip O'Toole
7ccfbd93b2
Move to top-level use of cluster.Credentials
2 years ago
Neal Harrington
c0b1b6c762
write some tests, make them pass
2 years ago
Neal Harrington
7cceb822a4
First things
2 years ago
Philip O'Toole
24786d2803
More Join unit tests
2 years ago
Philip O'Toole
b703bc26ce
Unit test read-only join permission enforcement
2 years ago
Philip O'Toole
66df343e85
Fix up Credential Store mock
2 years ago
Philip O'Toole
ae27f5aee2
Copy nil credential store behaviour
2 years ago
Philip O'Toole
5e24af2636
Better API shape for queued Executes
2 years ago
Philip O'Toole
24757559ca
Single-node system testing of queued writes
2 years ago
Philip O'Toole
89b132ac26
Fix Store-level unit tests
2 years ago
Philip O'Toole
e4fed0cee3
Add bootstrap-expect ( #974 )
...
Add cluster-boostrap
3 years ago
Philip O'Toole
8f0f5f9ebc
Improve HTTP unit test
3 years ago
Philip O'Toole
bc59144d2d
Fix HTTP unit test
3 years ago
Philip O'Toole
860999951d
Enhance Authentication and Authorization system ( #940 )
3 years ago
chermehdi
3bfcbffc37
Fix typos and Grammar issues
3 years ago
Philip O'Toole
1a1f859b9a
Redirect HTTP / to /status
3 years ago
Philip O'Toole
c14a918de5
Use better name for interface
3 years ago