Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
add changelog entry and clean up a test
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned committed Jul 18, 2019
1 parent 8252d89 commit 233236c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelog.md
@@ -1,6 +1,7 @@
# Change Log

## `head`
- periodically refresh claims based auth for connections to resolve [issue #116](https://github.com/Azure/azure-service-bus-go/issues/116)
- refactor management functionality for entities into composition structs
- fix session deferral for queues and subscriptions
- add topic scheduled messages
Expand Down
7 changes: 2 additions & 5 deletions lockrenewal_test.go
Expand Up @@ -2,13 +2,13 @@ package servicebus

import (
"context"
"fmt"
"math/rand"
"testing"
"time"

"github.com/Azure/azure-service-bus-go/internal/test"
"github.com/stretchr/testify/assert"

"github.com/Azure/azure-service-bus-go/internal/test"
)

func (suite *serviceBusSuite) TestQueueSendReceiveWithLock() {
Expand Down Expand Up @@ -76,9 +76,6 @@ func testQueueSendAndReceiveWithRenewLock(ctx context.Context, t *testing.T, que
for runRenewal {
time.Sleep(renewEvery)
err := queue.RenewLocks(ctx, activeMessages...)
if err != nil {
fmt.Println(err.Error())
}
// If a renewal is taking place when the test ends
// it will fail and cause a panic without this check
if err != nil && runRenewal {
Expand Down

0 comments on commit 233236c

Please sign in to comment.