-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken tests with newer version(1.21.8) aws-sdk-go #137
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @zijima, Just wanted to follow up with you. Are you still experiencing this issue ? |
Tests in
I set the log level to debug, and ran test again. diff --git a/xray/aws_test.go b/xray/aws_test.go
index 89bcaa8..1c17a4c 100644
--- a/xray/aws_test.go
+++ b/xray/aws_test.go
@@ -5,6 +5,7 @@ import (
"encoding/json"
"net/http"
"net/http/httptest"
+ "os"
"sync"
"testing"
"time"
@@ -13,10 +14,13 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/lambda"
+ "github.com/aws/aws-xray-sdk-go/xraylog"
"github.com/stretchr/testify/assert"
)
func TestAWS(t *testing.T) {
+ SetLogger(xraylog.NewDefaultLogger(os.Stderr, xraylog.LogLevelDebug))
+
// Runs a suite of tests against two different methods of registering
// handlers on an AWS client.
the result is too long to paste here... please see my gist. |
Current XRay SDK depends on
github.com/aws/aws-sdk-go v1.17.12
https://github.com/aws/aws-xray-sdk-go/blob/master/go.mod#L5
when using v1.21.8, several tests in xray/aws_test.go failed, inlcuding:
They all have same error:
The text was updated successfully, but these errors were encountered: