Skip to content

Commit f82fcb4

Browse files
committed
dbus: TestFreezer: check runStopUnit error
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 9102adf commit f82fcb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dbus/methods_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,9 @@ func TestFreezer(t *testing.T) {
16991699
t.Fatalf("unit is not frozen after calling ThawUnit(), FreezerState=%s", v)
17001700
}
17011701

1702-
runStopUnit(t, conn, TrUnitProp{target, nil})
1702+
if err := runStopUnit(t, conn, TrUnitProp{target, nil}); err != nil {
1703+
t.Fatal("StopUnit:", err)
1704+
}
17031705
}
17041706

17051707
func testAttachProcessesToUnit(t *testing.T, subcgroup string) {

0 commit comments

Comments
 (0)