Skip to content

Commit

Permalink
test: removed skipping for docker tests (#1568)
Browse files Browse the repository at this point in the history
* removed skipping for docker tests

* lint

* revert extra fwpc retry

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
  • Loading branch information
hallvictoria and Victoria Hall authored Aug 30, 2024
1 parent 0d4ccb5 commit b734c57
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 50 deletions.
14 changes: 0 additions & 14 deletions tests/endtoend/test_eventhub_batch_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@
import json
import time
from datetime import datetime
from unittest import skipIf

from dateutil import parser
from tests.utils import testutils
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST

from azure_functions_worker.utils.common import is_envvar_true


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions which are used in the bindings in these tests"
" has a bug with the table extension 1.0.0. "
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestEventHubFunctions(testutils.WebHostTestCase):
"""Test EventHub Trigger and Output Bindings (cardinality: many).
Expand Down Expand Up @@ -135,11 +126,6 @@ def test_eventhub_multiple_with_metadata(self):
self.assertIsNotNone(sys_props['Offset'])


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions which are used in the bindings has a bug with the"
" table extension 1.0.0. "
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestEventHubBatchFunctionsStein(testutils.WebHostTestCase):

@classmethod
Expand Down
13 changes: 0 additions & 13 deletions tests/endtoend/test_generic_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@
# Licensed under the MIT License.
import time
import typing
from unittest import skipIf

from tests.utils import testutils
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST

from azure_functions_worker.utils.common import is_envvar_true


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions which are used in the bindings in these tests"
" has a bug with the table extension 1.0.0. "
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestGenericFunctions(testutils.WebHostTestCase):
"""Test Generic Functions with implicit output enabled
Expand Down Expand Up @@ -73,10 +64,6 @@ def check_log_return_types(self, host_out: typing.List[str]):
self.assertFalse(errors_found)


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions has a bug with the table extension 1.0.0."
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestGenericFunctionsStein(TestGenericFunctions):

@classmethod
Expand Down
7 changes: 0 additions & 7 deletions tests/endtoend/test_servicebus_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@
# Licensed under the MIT License.
import json
import time
from unittest import skipIf

from tests.utils import testutils
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST

from azure_functions_worker.utils.common import is_envvar_true


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Skipping SB tests till docker image is updated with host 4.33")
class TestServiceBusFunctions(testutils.WebHostTestCase):

@classmethod
Expand Down
16 changes: 0 additions & 16 deletions tests/endtoend/test_table_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@
import json
import pathlib
import time
from unittest import skipIf

from tests.utils import testutils
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST

from azure_functions_worker.utils.common import is_envvar_true


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions has a bug with the table extension 1.0.0."
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestTableFunctions(testutils.WebHostTestCase):

@classmethod
Expand Down Expand Up @@ -50,10 +42,6 @@ def test_table_bindings(self):
self.assertTrue(row_key_present)


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions has a bug with the table extension 1.0.0."
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestTableFunctionsStein(testutils.WebHostTestCase):

@classmethod
Expand All @@ -76,10 +64,6 @@ def test_table_bindings(self):
self.assertTrue(row_key_present)


@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
"Table functions has a bug with the table extension 1.0.0."
"https://github.com/Azure/azure-sdk-for-net/issues/33902.")
class TestTableFunctionsGeneric(TestTableFunctionsStein):

@classmethod
Expand Down

0 comments on commit b734c57

Please sign in to comment.