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)
63
await _auto.RunCommandAsync($"{NewCommand} --use-config-source --non-interactive",
_counter
,
70
await _auto.RunCommandAsync($"{NewCommand} --use-config-source false --non-interactive",
_counter
,
74
await _auto.RunCommandAsync("aspire config delete configSource",
_counter
);
75
await _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
);
114
await _auto.RunCommandAsync($"aspire add {id} --version 1.0.0 --non-interactive",
_counter
,
118
await _auto.RunCommandAsync("cat apphost.cs > \"$ASPIRE_E2E_WORKSPACE/actual-apphost.cs\"",
_counter
);
126
await _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
);
143
await _auto.RunCommandAsync("mkdir AppHost && mv apphost.cs apphost.run.json AppHost",
_counter
);
144
await _auto.RunCommandAsync("aspire config set appHost.path AppHost/apphost.cs",
_counter
);
176
await _auto.WaitForSuccessPromptAsync(
_counter
, timeout: TimeSpan.FromMinutes(3));
202
_counter
, timeout: TimeSpan.FromMinutes(3));
223
await _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
);
287
await _auto.RunCommandAsync(command,
_counter
);
291
$"cat \"{path}\" > \"$ASPIRE_E2E_WORKSPACE/actual-agent-settings.json\"",
_counter
);
315
await _auto.RunCommandAsync($"cd \"{directory}\"",
_counter
);
320
=> _auto.RunCommandAsync("test ! -f aspire.config.json",
_counter
);
327
await _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
);
330
await _auto.RunCommandAsync("dotnet run \"$ASPIRE_E2E_WORKSPACE/check-source.cs\" -- wait \"$source_run_pid\"",
_counter
,
332
await _auto.RunCommandAsync("kill -INT \"$source_run_pid\"; timeout 120 tail --pid=\"$source_run_pid\" -f /dev/null; wait \"$source_run_pid\"",
_counter
,
334
await _auto.RunCommandAsync("cat \"$ASPIRE_E2E_WORKSPACE/run.log\"",
_counter
);
342
_counter
, timeout: TimeSpan.FromMinutes(2));
348
_counter
, timeout: TimeSpan.FromMinutes(2));
363
await _auto.WaitForSuccessPromptAsync(
_counter
, timeout: TimeSpan.FromMinutes(5));
397
await _auto.RunCommandAsync("aspire config set features.updateNotificationsEnabled false -g",
_counter
);
399
await _auto.RunCommandAsync("git config --global --add safe.directory \"$ASPIRE_E2E_WORKSPACE/configuration source\"",
_counter
);
400
await _auto.RunCommandAsync($"git -C 'configuration source' init --initial-branch=main --object-format={objectFormat}",
_counter
);
401
await _auto.RunCommandAsync("git -C 'configuration source' config user.name 'Aspire E2E'",
_counter
);
402
await _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
);
411
await _auto.RunCommandAsync("cd SourceApp",
_counter
);
412
await _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
);