In suite 1node.robot: check creation of snapshot with transferred persisted data...
[integration/test.git] / csit / suites / controller / akka_upgrade / 1node.robot
index fa7f02b77f55778e709168e0179709441b916388..87c9e2c04f7caf514854e5f5ec259fdef9685e1e 100644 (file)
@@ -119,7 +119,11 @@ Transfer_Persisted_Data
     [Documentation]    Move snapshots and journal into the original ODL installation.
     # SSHLibrary.Switch_Connection    ${odl_system_ssh_index}
     ${stdout} =    SSHKeywords.Execute_Command_Should_Pass    cp -rv "${alternative_bundlefolder}/snapshots" "${WORKSPACE}/${BUNDLEFOLDER}/" && cp -rv "${alternative_bundlefolder}/journal" "${WORKSPACE}/${BUNDLEFOLDER}/"
-    # TODO: Should we require a snapshot was created?
+    Set_Suite_Variable    ${stdout}
+
+Check_Snapshot_With_Transferred_Persisted_Data
+    [Documentation]    Fail if no snapshot file was created.
+    BuiltIn.Should_Contain    ${stdout}    /snapshots/    msg='Snapshot file was not created.'
 
 Start_Newer_Odl
     [Documentation]    Start the newer ODL on background.