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

Agent Binary Executable Name Change #1573

Merged
merged 1 commit into from
Sep 14, 2018
Merged
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
4 changes: 2 additions & 2 deletions agent/functional_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ done first:

### Windows

Before running these tests, you should build the ECS agent (as `agent.exe`) and
Before running these tests, you should build the ECS agent (as `amazon-ecs-agent.exe`) and
record the directory where the binary is present in the `ECS_WINDOWS_TEST_DIR`
environment variable.

Expand All @@ -75,7 +75,7 @@ You can configure the following environment variables to change test
execution behavior:
* `AWS_REGION`: Control the region that is used for test execution
* `ECS_CLUSTER`: Control the cluster used for test execution
* `ECS_WINDOWS_TEST_DIR`: Override the path used to find `agent.exe`
* `ECS_WINDOWS_TEST_DIR`: Override the path used to find `amazon-ecs-agent.exe`
* `ECS_FTEST_TMP`: Override the default temporary directory used for storing
test logs and data files

Expand Down
2 changes: 1 addition & 1 deletion agent/functional_tests/util/utils_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (agent *TestAgent) StartAgent() error {
os.Setenv(k, v)
}
}
agentInvoke := exec.Command(".\\agent.exe")
agentInvoke := exec.Command(".\\amazon-ecs-agent.exe")
if TestDirectory := os.Getenv("ECS_WINDOWS_TEST_DIR"); TestDirectory != "" {
agentInvoke.Dir = TestDirectory
}
Expand Down
2 changes: 1 addition & 1 deletion misc/windows-deploy/amazon-ecs-agent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ try {
try {
.\amazon-ecs-agent.exe
} catch {
LogMsg -message "Could not start agent.exe." -logLevel "ERROR"
LogMsg -message "Could not start amazon-ecs-agent.exe." -logLevel "ERROR"
LogMsg -message $_.Exception.Message -logLevel "ERROR"
exit 2
}
Expand Down