You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
[aries-framework/agentd] 2019/10/16 20:57:33 UTC - webhook.listenAndStopAfterReceivingNotification.func1 -> INFO Sample webhook client just received webhook notification
[aries-framework/agentd] 2019/10/16 20:57:33 UTC - webhook.sendNotification -> INFO Notification sent to http://localhost:33225/webhookListen1 successfully.
==================
WARNING: DATA RACE
Write at 0x00c00021a030 by goroutine 28:
github.com/hyperledger/aries-framework-go/pkg/restapi/webhook.TestWebhookDispatcherMultipleWebhooks()
/home/circleci/project/pkg/restapi/webhook/webhook_test.go:71 +0x281
testing.tRunner()
/usr/local/go/src/testing/testing.go:909 +0x199
Previous read at 0x00c00021a030 by goroutine 31:
github.com/hyperledger/aries-framework-go/pkg/restapi/webhook.TestWebhookDispatcherMultipleWebhooks.func1()
/home/circleci/project/pkg/restapi/webhook/webhook_test.go:73 +0x45
Goroutine 28 (running) created at:
testing.(*T).Run()
/usr/local/go/src/testing/testing.go:960 +0x651
testing.runTests.func1()
/usr/local/go/src/testing/testing.go:1202 +0xa6
testing.tRunner()
/usr/local/go/src/testing/testing.go:909 +0x199
testing.runTests()
/usr/local/go/src/testing/testing.go:1200 +0x521
testing.(*M).Run()
/usr/local/go/src/testing/testing.go:1117 +0x2ff
main.main()
_testmain.go:102 +0x337
Goroutine 31 (running) created at:
github.com/hyperledger/aries-framework-go/pkg/restapi/webhook.TestWebhookDispatcherMultipleWebhooks()
/home/circleci/project/pkg/restapi/webhook/webhook_test.go:72 +0x2e3
testing.tRunner()
/usr/local/go/src/testing/testing.go:909 +0x199
==================
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.dispatch -> ERROR failed to post notification to http://localhost:33225/webhookListen1: Post http://localhost:33225/webhookListen1: dial tcp 127.0.0.1:33225: connect: connection refused
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.listenAndStopAfterReceivingNotification.func1 -> INFO Sample webhook client just received webhook notification
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.sendNotification -> INFO Notification sent to http://localhost:37813/webhookListen2 successfully.
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.listenAndStopAfterReceivingNotification.func1 -> INFO Sample webhook client just received webhook notification
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.sendNotification -> INFO Notification sent to http://localhost:34699/webhookListen3 successfully.
--- FAIL: TestWebhookDispatcherMultipleWebhooks (2.01s)
testing.go:853: race detected during execution of test
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.listenAndStopAfterReceivingNotification.func1 -> INFO Sample webhook client just received webhook notification
[aries-framework/agentd] 2019/10/16 20:57:35 UTC - webhook.sendNotification -> INFO Notification sent to http://localhost:38969/webhookListen4 successfully.
FAIL
coverage: 88.9% of statements
FAIL github.com/hyperledger/aries-framework-go/pkg/restapi/webhook 4.075s
The text was updated successfully, but these errors were encountered:
This test gonna be removed as part of #472
We don't need those tickers and those background goroutine which constantly runs in background to send notifications.
@DRK3 is currently working on #472 and this issue will be gone.
Unit test log from circle CI run:
The text was updated successfully, but these errors were encountered: