Skip to content

Commit

Permalink
Add unit test tag to all unit test files
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Jul 18, 2023
1 parent 4c37d0a commit 03eacd3
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/api/task/task_attachment_handler_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/app/healthcheck_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/doctor/docker_runtime_healthcheck_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

package doctor

import (
Expand Down
3 changes: 3 additions & 0 deletions agent/engine/common_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit || integration
// +build unit integration

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/engine/daemonmanager/daemon_manager_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/engine/execcmd/agent_version_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/engine/execcmd/manager_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/handlers/agentapi/taskprotection/factory_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/stats/common_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/stats/reporter/reporter_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

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

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/taskresource/volume/dockervolume_efs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/taskresource/volume/mountoptions_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
Expand Down
3 changes: 3 additions & 0 deletions agent/utils/ephemeral_ports_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build unit
// +build unit

package utils

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

0 comments on commit 03eacd3

Please sign in to comment.