Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitarheroua committed Nov 28, 2024
1 parent 7c17548 commit be79f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions access/grpc/grpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2539,7 +2539,7 @@ func TestClient_SendAndSubscribeTransactionStatuses(t *testing.T) {
var resTransactionResults []*access.SendAndSubscribeTransactionStatusesResponse
results := test.TransactionResultGenerator(encodingVersion)

for i := uint64(0); i < count; i++ {
for i := uint64(1); i <= count; i++ {
expectedResult := results.New()
transactionResult, _ := convert.TransactionResultToMessage(expectedResult, encodingVersion)

Expand Down Expand Up @@ -2573,7 +2573,7 @@ func TestClient_SendAndSubscribeTransactionStatuses(t *testing.T) {
wg.Add(1)
go assertNoErrors(t, errCh, wg.Done)

expectedCounter := uint64(0)
expectedCounter := uint64(1)

for i := uint64(0); i < responseCount; i++ {
actualTxResult := <-txResultCh
Expand Down Expand Up @@ -2608,7 +2608,7 @@ func TestClient_SendAndSubscribeTransactionStatuses(t *testing.T) {
wg.Add(1)
go assertNoErrors(t, errCh, wg.Done)

expectedCounter := uint64(0)
expectedCounter := uint64(1)
for i := uint64(0); i < responseCount; i++ {
actualTxResult := <-txResultCh
expectedTxResult, err := convert.MessageToTransactionResult(stream.responses[i].GetTransactionResults(), DefaultClientOptions().jsonOptions)
Expand Down

0 comments on commit be79f84

Please sign in to comment.