feat: expose append-only ledger health
This commit is contained in:
1 parent
32e7b6b749
commit
83720ba9d1
4 files changed
+28
-19
No files matched your search
@@ -22,7 +22,7 @@ func TestCheckReportsDatabaseReadiness(t *testing.T) {
|
||||
} {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
got := NewService(tc.db).Check(context.Background())
|
||||
if !got.Serving || got.DatabaseReady != tc.ready {
|
||||
if got.Serving != tc.ready || got.DatabaseReady != tc.ready {
|
||||
t.Fatalf("unexpected status: %+v", got)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user