diff --git a/packetbeat/Jenkinsfile.yml b/packetbeat/Jenkinsfile.yml index 907028eb94f..f048e83c3ae 100644 --- a/packetbeat/Jenkinsfile.yml +++ b/packetbeat/Jenkinsfile.yml @@ -116,14 +116,14 @@ stages: - "windows-7" branches: true ## for all the branches tags: true ## for all the tags - #windows-7-32: See https://github.com/elastic/beats/issues/22303 - # mage: "mage build unitTest" - # platforms: ## override default labels in this specific stage. - # - "windows-7-32-bit" - # when: ## Override the top-level when. - # comments: - # - "/test packetbeat for windows-7-32" - # labels: - # - "windows-7-32" - # branches: true ## for all the branches - # tags: true ## for all the tags + windows-7-32: + mage: "mage build unitTest" + platforms: ## override default labels in this specific stage. + - "windows-7-32-bit" + when: ## Override the top-level when. + comments: + - "/test packetbeat for windows-7-32" + labels: + - "windows-7-32" + branches: true ## for all the branches + tags: true ## for all the tags diff --git a/packetbeat/procs/procs_windows_test.go b/packetbeat/procs/procs_windows_test.go index 532d430dd04..2a4ad96e18d 100644 --- a/packetbeat/procs/procs_windows_test.go +++ b/packetbeat/procs/procs_windows_test.go @@ -33,6 +33,7 @@ func TestParseTableRaw(t *testing.T) { IPv4 := extractTCPRowOwnerPID IPv6 := extractTCP6RowOwnerPID + pid := uint32(0xCCCCCCCC) for idx, testCase := range []struct { name string factory extractorFactory @@ -52,7 +53,7 @@ func TestParseTableRaw(t *testing.T) { "01000000" + "77777777AAAAAAAA12340000BBBBBBBBFFFF0000CCCCCCCC", []portProcMapping{ - {endpoint: endpoint{address: "170.170.170.170", port: 0x1234}, pid: 0xCCCCCCCC}, + {endpoint: endpoint{address: "170.170.170.170", port: 0x1234}, pid: int(pid)}, }, false}, {"Two entries (IPv6)", IPv6, "02000000" +