Skip to content

Commit 0696bc5

Browse files
committed
Add unit test tag to all unit test files
1 parent 1d88418 commit 0696bc5

14 files changed

+42
-0
lines changed

agent/api/task/task_attachment_handler_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/app/healthcheck_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/doctor/docker_runtime_healthcheck_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
package doctor
25

36
import (

agent/engine/common_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit || integration
2+
// +build unit integration
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/engine/daemonmanager/daemon_manager_linux_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/engine/execcmd/agent_version_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/engine/execcmd/manager_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/handlers/agentapi/taskprotection/factory_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/stats/common_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/stats/reporter/reporter_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/taskresource/credentialspec/credentialspecstatus_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/taskresource/volume/dockervolume_efs_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/taskresource/volume/mountoptions_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
25
//
36
// Licensed under the Apache License, Version 2.0 (the "License"). You may

agent/utils/ephemeral_ports_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build unit
2+
// +build unit
3+
14
package utils
25

36
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.

0 commit comments

Comments
 (0)