1 write to _counter
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
32_counter = counter;
42 references to _counter
Aspire.Cli.EndToEnd.Tests (42)
Helpers\ConfigSourceTestContext.cs (42)
63await _auto.RunCommandAsync($"{NewCommand} --use-config-source --non-interactive", _counter, 70await _auto.RunCommandAsync($"{NewCommand} --use-config-source false --non-interactive", _counter, 74await _auto.RunCommandAsync("aspire config delete configSource", _counter); 75await _auto.RunCommandAsync("aspire config set docs.llmsTxtUrl https://local.example/llms.txt", _counter); 106"aspire integration list --format json --non-interactive > \"$ASPIRE_E2E_WORKSPACE/integrations.json\"", _counter); 114await _auto.RunCommandAsync($"aspire add {id} --version 1.0.0 --non-interactive", _counter, 118await _auto.RunCommandAsync("cat apphost.cs > \"$ASPIRE_E2E_WORKSPACE/actual-apphost.cs\"", _counter); 126await _auto.RunCommandAsync("mkdir SourceApp && cd SourceApp && dotnet new sln --name SourceApp", _counter); 129_counter, timeout: TimeSpan.FromMinutes(3)); 132"cd SourceApp.AppHost && aspire config set docs.custom keep", _counter); 143await _auto.RunCommandAsync("mkdir AppHost && mv apphost.cs apphost.run.json AppHost", _counter); 144await _auto.RunCommandAsync("aspire config set appHost.path AppHost/apphost.cs", _counter); 176await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 202_counter, timeout: TimeSpan.FromMinutes(3)); 223await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 232"cat \"$ASPIRE_E2E_WORKSPACE/git-auth-cli.log\" > \"$ASPIRE_E2E_WORKSPACE/actual-git-auth-cli.log\"", _counter); 286$"aspire config set skillSources.default.repository {repository}", _counter); 287await _auto.RunCommandAsync(command, _counter); 291$"cat \"{path}\" > \"$ASPIRE_E2E_WORKSPACE/actual-agent-settings.json\"", _counter); 315await _auto.RunCommandAsync($"cd \"{directory}\"", _counter); 320=> _auto.RunCommandAsync("test ! -f aspire.config.json", _counter); 327await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- expire", _counter); 329"aspire run --non-interactive > \"$ASPIRE_E2E_WORKSPACE/run.log\" 2>&1 </dev/null & source_run_pid=$!", _counter); 330await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- wait \"$source_run_pid\"", _counter, 332await _auto.RunCommandAsync("kill -INT \"$source_run_pid\"; timeout 120 tail --pid=\"$source_run_pid\" -f /dev/null; wait \"$source_run_pid\"", _counter, 334await _auto.RunCommandAsync("cat \"$ASPIRE_E2E_WORKSPACE/run.log\"", _counter); 342_counter, timeout: TimeSpan.FromMinutes(2)); 348_counter, timeout: TimeSpan.FromMinutes(2)); 363await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(5)); 397await _auto.RunCommandAsync("aspire config set features.updateNotificationsEnabled false -g", _counter); 399await _auto.RunCommandAsync("git config --global --add safe.directory \"$ASPIRE_E2E_WORKSPACE/configuration source\"", _counter); 400await _auto.RunCommandAsync($"git -C 'configuration source' init --initial-branch=main --object-format={objectFormat}", _counter); 401await _auto.RunCommandAsync("git -C 'configuration source' config user.name 'Aspire E2E'", _counter); 402await _auto.RunCommandAsync("git -C 'configuration source' config user.email aspire-e2e@example.com", _counter); 406"ASPIRE_INIT_SOURCE_PATH=teams/platform.json ASPIRE_INIT_SOURCE_REF=main", _counter); 411await _auto.RunCommandAsync("cd SourceApp", _counter); 412await _auto.RunCommandAsync("aspire config set docs.custom keep", _counter); 416=> _auto.RunCommandAsync("test ! -d \"$HOME/.aspire/configsources\"", _counter); 423$"cat \"$ASPIRE_E2E_WORKSPACE/{_configurationRelativePath}\" > \"$ASPIRE_E2E_WORKSPACE/actual-config.json\"", _counter); 434"git -C \"$ASPIRE_E2E_WORKSPACE/configuration source\" rev-parse HEAD:teams/platform.json > \"$ASPIRE_E2E_WORKSPACE/source-version.txt\"", _counter); 473_counter, timeout: TimeSpan.FromMinutes(2)); 477$"ASPIRE_INIT_SOURCE_URL={SshRepository}", _counter);