1
0
Fork 0

106 Commits (1ec13a50d03c4c499a98450d478458aef752ab14)

Author SHA1 Message Date
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
Philip O'Toole 2e7bf1c881 Even friendlier log message when start-up is done 3 years ago
Philip O'Toole e78e462ca5 ABL 3 years ago
Philip O'Toole 5d88769e1e Unit test readyz/ handler 3 years ago
Philip O'Toole 38f52694a0 nodes/ endpoint supports timeout 3 years ago
Philip O'Toole 0b5df4b81d HTTP layer uses timeout for GetNodeAPIAddr calls 3 years ago
Philip O'Toole 9130ed8b1f Fix HTTP unit tests 3 years ago
Philip O'Toole eee3a2e785 Fix code path that could cause panic 3 years ago
Philip O'Toole e6532bd11e Add HTTP-level redirect and forward testing 3 years ago
Philip O'Toole 6e17295913 Group network-related params together 3 years ago
Philip O'Toole 4a28b311f1 Support cluster injection in HTTP unit tests 3 years ago
Philip O'Toole 0b8beb6a5d Implmenet Request Forwarding timeout support 3 years ago
Philip O'Toole 7c4f42d032 Fix HTTP unit tests 3 years ago
Philip O'Toole adc39168f2 Test for invalid Response 3 years ago
Philip O'Toole b50b14bdd5 Unit test Reponse JSON marshal 3 years ago
Philip O'Toole fd98114839 HTTP-level testing passes 3 years ago
Philip O'Toole 503825dbaf Remove Abort functionality
No longer relevant since each Exec and Query gets its own connection.
3 years ago
Philip O'Toole b6e0f46f30 Support non-voting nodes optionally in nodes/ 3 years ago