Skip to content

Commit b734c57

Browse files
hallvictoriaVictoria Hall
andauthored
test: removed skipping for docker tests (#1568)
* removed skipping for docker tests * lint * revert extra fwpc retry --------- Co-authored-by: Victoria Hall <[email protected]>
1 parent 0d4ccb5 commit b734c57

File tree

4 files changed

+0
-50
lines changed

4 files changed

+0
-50
lines changed

tests/endtoend/test_eventhub_batch_functions.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,11 @@
33
import json
44
import time
55
from datetime import datetime
6-
from unittest import skipIf
76

87
from dateutil import parser
98
from tests.utils import testutils
10-
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST
119

12-
from azure_functions_worker.utils.common import is_envvar_true
1310

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

137128

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

145131
@classmethod

tests/endtoend/test_generic_functions.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,10 @@
22
# Licensed under the MIT License.
33
import time
44
import typing
5-
from unittest import skipIf
65

76
from tests.utils import testutils
8-
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST
97

10-
from azure_functions_worker.utils.common import is_envvar_true
118

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

7566

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

8269
@classmethod

tests/endtoend/test_servicebus_functions.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
# Licensed under the MIT License.
33
import json
44
import time
5-
from unittest import skipIf
65

76
from tests.utils import testutils
8-
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST
97

10-
from azure_functions_worker.utils.common import is_envvar_true
118

12-
13-
@skipIf(is_envvar_true(DEDICATED_DOCKER_TEST)
14-
or is_envvar_true(CONSUMPTION_DOCKER_TEST),
15-
"Skipping SB tests till docker image is updated with host 4.33")
169
class TestServiceBusFunctions(testutils.WebHostTestCase):
1710

1811
@classmethod

tests/endtoend/test_table_functions.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@
33
import json
44
import pathlib
55
import time
6-
from unittest import skipIf
76

87
from tests.utils import testutils
9-
from tests.utils.constants import CONSUMPTION_DOCKER_TEST, DEDICATED_DOCKER_TEST
108

11-
from azure_functions_worker.utils.common import is_envvar_true
129

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

2012
@classmethod
@@ -50,10 +42,6 @@ def test_table_bindings(self):
5042
self.assertTrue(row_key_present)
5143

5244

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

5947
@classmethod
@@ -76,10 +64,6 @@ def test_table_bindings(self):
7664
self.assertTrue(row_key_present)
7765

7866

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

8569
@classmethod

0 commit comments

Comments
 (0)