summaryrefslogtreecommitdiffstats
path: root/tools/yardstick-img-dpdk-finalize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yardstick-img-dpdk-finalize.sh')
-rw-r--r--tools/yardstick-img-dpdk-finalize.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/yardstick-img-dpdk-finalize.sh b/tools/yardstick-img-dpdk-finalize.sh
index b9ea83e11..7a450e269 100644
--- a/tools/yardstick-img-dpdk-finalize.sh
+++ b/tools/yardstick-img-dpdk-finalize.sh
@@ -29,6 +29,9 @@ do
fi
done
+# workaround: Without wait time, the file size of pktgen is zero in the snapshot.
+sleep 60
+
status=$(nova image-create --poll $stackname $new_image_name)
if [[ "$status" =~ "Finished" ]];then
echo "$new_image_name finished"