Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: removed skipping for docker tests #1568

Merged
merged 5 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading