diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3c38fffd..bece8d41 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: hmarr/debug-action@v2 - + get-tag: name: Get tag runs-on: ubuntu-latest @@ -25,7 +25,7 @@ jobs: branch=${{github.event.workflow_run.head_branch}} echo '::set-output name=tag::'${branch#release/} id: get-tag-step - + create-release: name: Create release needs: get-tag @@ -43,4 +43,4 @@ jobs: tag: ${{ needs.get-tag.outputs.tag }} dependent_repositories: '["sdk-vpp", "sdk-sriov"]' secrets: - token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} diff --git a/pkg/kernel/tools/nshandle/ns_handle_linux_test.go b/pkg/kernel/tools/nshandle/ns_handle_linux_test.go index 9d42a354..94d7620e 100644 --- a/pkg/kernel/tools/nshandle/ns_handle_linux_test.go +++ b/pkg/kernel/tools/nshandle/ns_handle_linux_test.go @@ -14,6 +14,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build perm +// +build perm + package nshandle_test import ( @@ -36,7 +39,7 @@ const ( notEqualFormat = "Should not be: %#v\n" ) -func TestNSHandle_RunIn(t *testing.T) { +func TestNSHandle_RunInPerm(t *testing.T) { goleak.VerifyNone(t) current, currErr := nshandle.Current()