aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh
index 4091bea7d..e0e1ac625 100755
--- a/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh
+++ b/test/mocks/pnfsimulator/netopeer_tls_cfg/update_tls.sh
@@ -9,7 +9,11 @@ SUBSCRIBE_APP_PATH='/opt/dev/sysrepo/build/examples/application_changes_example'
upload_yang_data_model()
{
sysrepoctl -i -g $MOUNT_PATH/mynetconf.yang
+ sleep 5
+ echo ' subscribing to mynetconf model.'
$SUBSCRIBE_APP_PATH mynetconf > /dev/null &
+ sleep 5
+ echo ' creating data for mynetconf model.'
sysrepocfg --datastore=running --format=json mynetconf --import=$MOUNT_PATH/mynetconf.data
}