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

Replacing the test org due to PAT expire issue for Existing org #1390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
42 changes: 21 additions & 21 deletions .azure-pipelines/azure-pipelines-live-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@ jobs:

- template: templates/download-install-local-azure-devops-cli-extension.yml

# Run a Python script.
# - task: PythonScript@0
# inputs:
# scriptSource: 'filePath'
# scriptPath: 'scripts/prepareLiveRecordingTestsRun.py'
# failOnStderr: true
# env:
# AZURE_DEVOPS_EXT_PAT: $(pat)

# - script: pytest tests --junitxml "TEST-results.xml"
# displayName: 'Run Live Tests'
# env:
# AZURE_DEVOPS_EXT_PAT: $(pat)

# - task: PublishTestResults@2
# displayName: 'Publish Test Results'
# inputs:
# testResultsFormat: 'JUnit'
# testResultsFiles: '**TEST-*.xml'
# searchFolder: '$(System.DefaultWorkingDirectory)'
# condition: succeededOrFailed()
Run a Python script.
- task: PythonScript@0
inputs:
scriptSource: 'filePath'
scriptPath: 'scripts/prepareLiveRecordingTestsRun.py'
failOnStderr: true
env:
AZURE_DEVOPS_EXT_PAT: $(pat)

- script: pytest tests --junitxml "TEST-results.xml"
displayName: 'Run Live Tests'
env:
AZURE_DEVOPS_EXT_PAT: $(pat)

- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**TEST-*.xml'
searchFolder: '$(System.DefaultWorkingDirectory)'
condition: succeededOrFailed()
2 changes: 1 addition & 1 deletion tests/test_boardsIterationTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from azure_devtools.scenario_tests import AllowLargeResponse
from .utilities.helper import DevopsScenarioTest, disable_telemetry, set_authentication, get_test_org_from_env_variable

DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/devops-cli-test-org'
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'https://dev.azure.com/ChatOpstestOrg'

class BoardsIterationsTest(DevopsScenarioTest):
@AllowLargeResponse(size_kb=3072)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_boardsQueryTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from azure_devtools.scenario_tests import AllowLargeResponse
from .utilities.helper import DevopsScenarioTest, disable_telemetry, set_authentication, get_test_org_from_env_variable

DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/devops-cli-test-org'
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'https://dev.azure.com/ChatOpstestOrg'

class BoardsQueryTests(DevopsScenarioTest):
@AllowLargeResponse(size_kb=3072)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_boardsRelationTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from azure_devtools.scenario_tests import AllowLargeResponse
from .utilities.helper import DevopsScenarioTest, disable_telemetry, set_authentication, get_test_org_from_env_variable

DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/devops-cli-test-org'
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'https://dev.azure.com/ChatOpstestOrg'

class BoardsRelationsTest(DevopsScenarioTest):
def validate_relation_count_on_work_item(self, work_item_set, relation_count_set):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_boardsWorkItemTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from azure_devtools.scenario_tests import AllowLargeResponse
from .utilities.helper import DevopsScenarioTest, disable_telemetry, set_authentication, get_test_org_from_env_variable

DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/devops-cli-test-org'
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'https://dev.azure.com/ChatOpstestOrg'

class BoardsWorkItemTests(DevopsScenarioTest):
@AllowLargeResponse(size_kb=3072)
Expand Down
Loading