Skip to content

Commit

Permalink
changed setting to MB
Browse files Browse the repository at this point in the history
  • Loading branch information
amofakhar committed Jul 18, 2024
1 parent c2353ba commit b4c9853
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def tearDown(self):
def test_resync_mariadb_to_sf_if_table_size_greater_than_limit(self): # pylint: disable = no-self-use
"""test resync mariadb to SF returns error 1 if table size is greater than the limit"""

a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise sync_tables --tap {TAP_ID} --target {TARGET_ID}'
Expand All @@ -53,7 +53,7 @@ def test_resync_mariadb_to_sf_if_table_size_less_than_limit(self): # pylint: di

def test_resync_mariadb_to_sf_if_table_size_greater_than_limit_and_force(self): # pylint: disable = no-self-use
"""test resync mariadb to SF returns error if table size is greater than the limit and --force is used"""
a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise sync_tables --tap {TAP_ID} --target {TARGET_ID} --force'
Expand All @@ -64,7 +64,7 @@ def test_resync_mariadb_to_sf_if_table_size_greater_than_limit_and_force(self):

def test_run_tap_mariadb_to_sf_if_size_greater_than_limit(self): # pylint: disable = no-self-use
"""test run_tap mariadb to sf if table size is greater than the limit"""
a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise run_tap --tap {TAP_ID} --target {TARGET_ID}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def tearDown(self):
def test_resync_pg_to_sf_if_table_size_greater_than_limit(self): # pylint: disable = no-self-use
"""test resync pg to SF returns error 1 if table size is greater than the limit"""

a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise sync_tables --tap {TAP_ID} --target {TARGET_ID}'
Expand All @@ -54,7 +54,7 @@ def test_resync_pg_to_sf_if_table_size_less_than_limit(self): # pylint: disabl
def test_resync_pg_to_sf_if_table_size_greater_than_limit_and_force(self): # pylint: disable = no-self-use

"""test resync pg to SF returns error if table size is greater than the limit and --force is used"""
a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise sync_tables --tap {TAP_ID} --target {TARGET_ID} --force'
Expand All @@ -65,7 +65,7 @@ def test_resync_pg_to_sf_if_table_size_greater_than_limit_and_force(self): # p

def test_run_tap_pg_to_sf_if_size_greater_than_limit(self): # pylint: disable = no-self-use
"""test run_tap postgres to sf if table size is greater than the limit"""
a_small_number = 3
a_small_number = 0.1 # Mb
_create_ppw_config_file(table_mb=a_small_number)

command = f'pipelinewise run_tap --tap {TAP_ID} --target {TARGET_ID}'
Expand Down

0 comments on commit b4c9853

Please sign in to comment.