1 write to _counter
Aspire.Cli.EndToEnd.Tests (1)
Helpers\ConfigSourceTestContext.cs (1)
29_counter = counter;
30 references to _counter
Aspire.Cli.EndToEnd.Tests (30)
Helpers\ConfigSourceTestContext.cs (30)
60await _auto.RunCommandAsync($"{NewCommand} --use-config-source true --non-interactive", _counter, 67await _auto.RunCommandAsync("mkdir SourceApp && cd SourceApp && dotnet new sln --name SourceApp", _counter); 70_counter, timeout: TimeSpan.FromMinutes(3)); 73"cd SourceApp.AppHost && aspire config set docs.custom keep", _counter); 84await _auto.RunCommandAsync("mkdir AppHost && mv apphost.cs apphost.run.json AppHost", _counter); 85await _auto.RunCommandAsync("aspire config set appHost.path AppHost/apphost.cs", _counter); 100await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 124_counter, timeout: TimeSpan.FromMinutes(3)); 145await _auto.WaitForSuccessPromptAsync(_counter, timeout: TimeSpan.FromMinutes(3)); 174await _auto.RunCommandAsync($"cd \"{directory}\"", _counter); 179=> _auto.RunCommandAsync("test ! -f aspire.config.json", _counter); 186await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- expire", _counter); 188"aspire run --non-interactive > \"$ASPIRE_E2E_WORKSPACE/run.log\" 2>&1 </dev/null & source_run_pid=$!", _counter); 189await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- wait \"$source_run_pid\"", _counter, 191await _auto.RunCommandAsync("kill -INT \"$source_run_pid\"; timeout 120 tail --pid=\"$source_run_pid\" -f /dev/null; wait \"$source_run_pid\"", _counter, 193await _auto.RunCommandAsync("cat \"$ASPIRE_E2E_WORKSPACE/run.log\"", _counter); 202_counter, timeout: TimeSpan.FromMinutes(2)); 227await _auto.RunCommandAsync("aspire config set features.updateNotificationsEnabled false -g", _counter); 229await _auto.RunCommandAsync("git config --global --add safe.directory \"$ASPIRE_E2E_WORKSPACE/configuration source\"", _counter); 230await _auto.RunCommandAsync("git -C 'configuration source' init --initial-branch=main", _counter); 231await _auto.RunCommandAsync("git -C 'configuration source' config user.name 'Aspire E2E'", _counter); 232await _auto.RunCommandAsync("git -C 'configuration source' config user.email aspire-e2e@example.com", _counter); 236"ASPIRE_INIT_SOURCE_PATH=teams/platform.json ASPIRE_INIT_SOURCE_REF=main", _counter); 241await _auto.RunCommandAsync("cd SourceApp", _counter); 242await _auto.RunCommandAsync("aspire config set docs.custom keep", _counter); 246=> _auto.RunCommandAsync("test ! -d \"$HOME/.aspire/configsources\"", _counter); 253$"cat \"$ASPIRE_E2E_WORKSPACE/{_configurationRelativePath}\" > \"$ASPIRE_E2E_WORKSPACE/actual-config.json\"", _counter); 264"git -C \"$ASPIRE_E2E_WORKSPACE/configuration source\" rev-parse HEAD:teams/platform.json > \"$ASPIRE_E2E_WORKSPACE/source-version.txt\"", _counter); 289_counter, timeout: TimeSpan.FromMinutes(2)); 293$"ASPIRE_INIT_SOURCE_URL={SshRepository}", _counter);