Skip to content

Commit d70ca3c

Browse files
committed
skipping input + move vars to pipeline
1 parent 9ca2787 commit d70ca3c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

eng/templates/jobs/ci-emulator-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ jobs:
8888
python -m pytest -q -n auto --dist loadfile --reruns 4 --ignore=tests/emulator_tests/test_servicebus_functions.py tests/emulator_tests
8989
env:
9090
AzureWebJobsStorage: "UseDevelopmentStorage=true"
91-
AzureWebJobsEventHubConnectionString: "Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"
92-
AzureWebJobsCosmosDBConnectionString: "AccountEndpoint=http://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==;"
91+
AzureWebJobsEventHubConnectionString: $(EmulatorEventHubConnectionString)
92+
AzureWebJobsCosmosDBConnectionString: $(EmulatorCosmosDBConnectionString)
9393
workingDirectory: $(Build.SourcesDirectory)/workers
9494
displayName: "Running $(PYTHON_VERSION) Python Linux Emulator Tests"
9595
- bash: |
@@ -105,6 +105,6 @@ jobs:
105105
python -m pytest -q -n auto --dist loadfile --reruns 4 tests/emulator_tests/test_servicebus_functions.py
106106
env:
107107
AzureWebJobsStorage: "UseDevelopmentStorage=true"
108-
AzureWebJobsServiceBusConnectionString: "Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"
108+
AzureWebJobsServiceBusConnectionString: $(EmulatorServiceBusConnectionString)
109109
workingDirectory: $(Build.SourcesDirectory)/workers
110110
displayName: "Running $(PYTHON_VERSION) Python ServiceBus Linux Emulator Tests"

workers/tests/emulator_tests/test_cosmosdb_functions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import json
44
import time
55
from azure.cosmos import CosmosClient, PartitionKey
6+
from unittest import skip
67

78
from tests.utils import testutils
89

@@ -64,6 +65,7 @@ def test_cosmosdb_trigger(self):
6465
self.assertTrue('_rid' in response)
6566
self.assertTrue('_ts' in response)
6667

68+
@skip("Waiting for 'Read collection feed' support in CosmosDB Emulator")
6769
def test_cosmosdb_input(self):
6870
data = str(round(time.time()))
6971
doc = {'id': 'cosmosdb-input-test',

0 commit comments

Comments
 (0)