This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [CollectionDefinition("Non-Parallel Collection", DisableParallelization = true)] | |
| public class NonParallelCollectionDefinitionClass | |
| { | |
| } | |
| [Collection("Non-Parallel Collection")] | |
| public class SerialTest | |
| { | |
| [Fact] | |
| public async Task Test10() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Collection("Serial")] | |
| public class SerialTest01 | |
| { | |
| [Fact] | |
| public async Task Test7() | |
| { | |
| await Task.Delay(TimeSpan.FromSeconds(5)); | |
| Assert.True(true); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ParallelTest01 | |
| { | |
| [Fact] | |
| public async Task Test1() | |
| { | |
| await Task.Delay(TimeSpan.FromSeconds(5)); | |
| Assert.True(true); | |
| } | |
| [Fact] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch", | |
| "type": "go", | |
| "request": "launch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func WaitUntilServiceExternalIPsAvailable(t *testing.T, options *k8s.KubectlOptions, serviceName string, retries int, sleepBetweenRetries time.Duration) { | |
| statusMsg := fmt.Sprintf("Wait for service %s to be provisioned.", serviceName) | |
| message := retry.DoWithRetry( | |
| t, | |
| statusMsg, | |
| retries, | |
| sleepBetweenRetries, | |
| func() (string, error) { | |
| service, err := k8s.GetServiceE(t, options, serviceName) | |
| if err != nil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| : | |
| terraform.InitAndApply(t, terraformOptions) | |
| var ActualCount int32 = 0 | |
| cluster, err := GetManagedCluster(expectedResourceGroupName, expectedClusterName) // Custom helper method | |
| assert.Nil(t, err) | |
| ActualCount = *(*cluster.ManagedClusterProperties.AgentPoolProfiles)[0].Count | |
| // Write assert | |
| assert.Equal(t, int32(expectedAagentCount), ActualCount) | |
| : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resources: | |
| pipelines: | |
| - pipeline: parent | |
| source: Parent.CI | |
| trigger: | |
| branches: | |
| - master | |
| trigger: none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trigger: | |
| - master | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| jobs: | |
| - job: main | |
| steps: | |
| - script: echo "##vso[task.setvariable variable=FOO;isOutput=true]Bar" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Attach to local process", | |
| "type": "go", | |
| "request": "attach", | |
| "mode": "local", | |
| "processId": 87235 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "terminal.integrated.env.osx": { | |
| "AZDO_ORG_SERVICE_URL":"https://dev.azure.com/<YOUR_ORG>", | |
| "AZDO_PERSONAL_ACCESS_TOKEN":"<YOUR_AZDO_PAT>", | |
| "AZDO_GITHUB_SERVICE_CONNECTION_PAT":"<YOUR_GITHUB_PAT>", | |
| "AZDO_TEST_AAD_USER_EMAIL": "<EMAIL_FOR_TEST>" | |
| }, |