wolfstudy commented on pull request #660:
URL: https://github.com/apache/pulsar-client-go/pull/660#issuecomment-960555078


   ```
   ==================
   WARNING: DATA RACE
   Read at 0x00c000158578 by goroutine 447:
     github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).track()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:142 +0x7dc
   
   Previous write at 0x00c000158578 by goroutine 291:
     
github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).AddMessage()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:103 +0x15e
     github.com/apache/pulsar-client-go/pulsar.TestNackBackoffTracker()
         /pulsar-client-go/pulsar/negative_acks_tracker_test.go:157 +0x124
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
   
   Goroutine 447 (running) created at:
     
github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).AddMessage()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:108 +0x4a4
     github.com/apache/pulsar-client-go/pulsar.TestNackBackoffTracker()
         /pulsar-client-go/pulsar/negative_acks_tracker_test.go:156 +0xeb
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
   
   Goroutine 291 (running) created at:
     testing.(*T).Run()
         /usr/local/go/src/testing/testing.go:1168 +0x5bb
     testing.runTests.func1()
         /usr/local/go/src/testing/testing.go:1439 +0xa6
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
     testing.runTests()
         /usr/local/go/src/testing/testing.go:1437 +0x612
     testing.(*M).Run()
         /usr/local/go/src/testing/testing.go:1345 +0x3b3
     main.main()
         _testmain.go:467 +0x356
   ==================
   ==================
   WARNING: DATA RACE
   Read at 0x00c000a1ff40 by goroutine 447:
     github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).track()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:142 +0x7fb
   
   Previous write at 0x00c000a1ff40 by goroutine 291:
     time.NewTicker()
         /usr/local/go/src/time/tick.go:30 +0x9a
     
github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).AddMessage()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:103 +0x134
     github.com/apache/pulsar-client-go/pulsar.TestNackBackoffTracker()
         /pulsar-client-go/pulsar/negative_acks_tracker_test.go:157 +0x124
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
   
   Goroutine 447 (running) created at:
     
github.com/apache/pulsar-client-go/pulsar.(*negativeAcksTracker).AddMessage()
         /pulsar-client-go/pulsar/negative_acks_tracker.go:108 +0x4a4
     github.com/apache/pulsar-client-go/pulsar.TestNackBackoffTracker()
         /pulsar-client-go/pulsar/negative_acks_tracker_test.go:156 +0xeb
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
   
   Goroutine 291 (running) created at:
     testing.(*T).Run()
         /usr/local/go/src/testing/testing.go:1168 +0x5bb
     testing.runTests.func1()
         /usr/local/go/src/testing/testing.go:1439 +0xa6
     testing.tRunner()
         /usr/local/go/src/testing/testing.go:1123 +0x202
     testing.runTests()
         /usr/local/go/src/testing/testing.go:1437 +0x612
     testing.(*M).Run()
         /usr/local/go/src/testing/testing.go:1345 +0x3b3
     main.main()
         _testmain.go:467 +0x356
   ==================
   --- FAIL: TestNackBackoffTracker (0.40s)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to