Merge "Cast block count to integer"
diff --git a/manila_tempest_tests/tests/scenario/manager_share.py b/manila_tempest_tests/tests/scenario/manager_share.py
index 6eb6840..fd02db0 100644
--- a/manila_tempest_tests/tests/scenario/manager_share.py
+++ b/manila_tempest_tests/tests/scenario/manager_share.py
@@ -200,7 +200,7 @@
         :param output_file: Path to the file to be written
         :param input_file: Path to the file to read from
         """
-
+        block_count = int(block_count)
         remote_client.exec_command(
             "sudo sh -c \"dd bs={} count={} if={} of={} conv=fsync"
             " iflag=fullblock\""
diff --git a/manila_tempest_tests/tests/scenario/test_share_shrink.py b/manila_tempest_tests/tests/scenario/test_share_shrink.py
index 03427af..8bbb921 100644
--- a/manila_tempest_tests/tests/scenario/test_share_shrink.py
+++ b/manila_tempest_tests/tests/scenario/test_share_shrink.py
@@ -71,7 +71,7 @@
         LOG.debug('Step 5 - mount')
         self.mount_share(locations[0], remote_client)
 
-        total_blocks = int((1024 * default_share_size) / 64)
+        total_blocks = (1024 * default_share_size) / 64
         blocks = total_blocks + 4
         LOG.debug('Step 6 - writing {} * 64MB blocks'.format(blocks))
         self.write_data_to_mounted_share_using_dd(remote_client,