Skip to content

Commit

Permalink
Merge pull request #68 from SolaceDev/EBP-46
Browse files Browse the repository at this point in the history
EBP-46: pinned the go version for the linux musl test node to 1.22.4
  • Loading branch information
cjwmorgan-sol authored Oct 22, 2024
2 parents ea18817 + 6fdf455 commit 2c0befe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ builder.goapi([
"validationGoVer": 'auto-v1.17.x',
"getTestPermutations": {
List<List<String>> permutations = []
for (platform in [builder.LINUX_ARM, builder.LINUX_X86_64, builder.LINUX_MUSL, builder.DARWIN_X86_64, builder.DARWIN_ARM]) {
for (platform in [builder.LINUX_ARM, builder.LINUX_X86_64, builder.DARWIN_X86_64, builder.DARWIN_ARM]) {
for (gover in ['auto-latest', 'auto-previous']) {
permutations << [platform, gover]
}
}
// run tests on the last stable Go version (1.22.4) for linux musl
// See EBP-46
// and this issue here - https://go-review.googlesource.com/c/go/+/600296
permutations << [builder.LINUX_MUSL, 'auto-v1.22.4']
return permutations
}
])
12 changes: 3 additions & 9 deletions test/persistent_receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,11 +621,7 @@ var _ = Describe("PersistentReceiver", func() {
Eventually(msgChan).Should(Receive(Not(BeNil())))
})

Context("pause and resume tests", Label("flaky-tests"), func() {
BeforeEach(func() {
Skip("Currently failing in Jenkins pipeline on Linux Musl nodes - SOL-124616")
})

Context("pause and resume tests", func() {
It("can pause and resume messaging repeatedly", func() {
numMessages := 1000
msgChan := make(chan message.InboundMessage, numMessages)
Expand Down Expand Up @@ -811,11 +807,9 @@ var _ = Describe("PersistentReceiver", func() {
})
})

const numQueuedMessages = 10000
Context(fmt.Sprintf("with %d queued messages", numQueuedMessages), Label("flaky-tests"), func() {
const numQueuedMessages = 5000
Context(fmt.Sprintf("with %d queued messages", numQueuedMessages), func() {
BeforeEach(func() {
Skip("Currently failing in Jenkins pipeline on Linux Musl nodes - SOL-124616")

helpers.PublishNPersistentMessages(messagingService, topicString, numQueuedMessages)
Eventually(func() int {
resp, _, err := testcontext.SEMP().Monitor().QueueApi.GetMsgVpnQueueMsgs(testcontext.SEMP().MonitorCtx(),
Expand Down

0 comments on commit 2c0befe

Please sign in to comment.