aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/daemon_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/daemon_test.go')
-rw-r--r--cmd/mbf/daemon_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/mbf/daemon_test.go b/cmd/mbf/daemon_test.go
index 3306eea3..d1d00eaa 100644
--- a/cmd/mbf/daemon_test.go
+++ b/cmd/mbf/daemon_test.go
@@ -110,6 +110,10 @@ func TestDaemon(t *testing.T) {
t.Fatalf("cancelRemote: error = %v", err)
}
+ if err = abortRemote(ctx, &addr); err != nil {
+ t.Fatalf("abortRemote: error = %v", err)
+ }
+
// keep this last for synchronisation
var p *check.Absolute
p, err = cureRemote(ctx, &addr, pkg.NewFile("check", []byte{0}), 0)
@@ -127,6 +131,7 @@ func TestDaemon(t *testing.T) {
wantLog := []string{
"",
+ "daemon: aborting all pending cures",
"daemon: attempting to cancel invalid artifact kQm9fmnCmXST1-MMmxzcau2oKZCXXrlZydo4PkeV5hO_2PKfeC8t98hrbV_ZZx_j",
"daemon: fulfilled artifact fiZf-ZY_Yq6qxJNrHbMiIPYCsGkUiKCRsZrcSELXTqZWtCnESlHmzV5ThhWWGGYG",
}