Ubuntu Pastebin

Paste from tvoss at Wed, 16 Nov 2016 11:27:19 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
git diff
diff --git a/tests/main/refresh-undo/task.yaml b/tests/main/refresh-undo/task.yaml
index 0244e7f..8d67053 100644
--- a/tests/main/refresh-undo/task.yaml
+++ b/tests/main/refresh-undo/task.yaml
@@ -34,7 +34,7 @@ execute: |
     echo "When we install v1"
     snap install --dangerous ${SNAP_FILE_GOOD}
     echo "The v1 service started correctly"
-    wait_for_service_status "Started Service for snap application test-snapd-service.service"
+    wait_for_service_status "service v1"
     
     echo "When we refresh to v2"
     if snap install --dangerous ${SNAP_FILE_BAD}; then
@@ -42,5 +42,4 @@ execute: |
        exit 1
     fi
     echo "Then v2 is rolled back and v1 is started again"
-    wait_for_service_status "Started Service for snap application test-snapd-service.service"
     wait_for_service_status "service v1"
Download as text