Comments (2)
@alimoeeny Okay. I'll take a look. Do you have a log that TestAddWriteRequestItems
is failing?
from goamz.
@nabeken very much appreciate your help. Here is the travis ci log:
----------------------------------------------------------------------
FAIL: query_builder_test.go:32: QueryBuilderSuite.TestAddWriteRequestItems
query_builder_test.go:147:
c.Check(queryJson, check.DeepEquals, expectedJson)
... obtained *simplejson.Json = &simplejson.Json{data:map[string]interface {}{"RequestItems":map[string]interface {}{"FooData":[]interface {}{map[string]interface {}{"DeleteRequest":map[string]interface {}{"Key":map[string]interface {}{"TestHashKeyDel":map[string]interface {}{"S":"DelKey"}, "TestRangeKeyDel":map[string]interface {}{"N":"7777777"}}}}, map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"testing":map[string]interface {}{"N":"4"}, "testingbatch":map[string]interface {}{"N":"2111"}, "testingstrbatch":map[string]interface {}{"S":"mystr"}}}}, map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"testing":map[string]interface {}{"N":"444"}, "testingbatch":map[string]interface {}{"N":"93748249272"}, "testingstrbatch":map[string]interface {}{"S":"myotherstr"}}}}}, "TestTable":[]interface {}{map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"TestHashKey":map[string]interface {}{"S":"MyKey"}, "TestRangeKey":map[string]interface {}{"N":"0193820384293"}}}}}}}}
... expected *simplejson.Json = &simplejson.Json{data:map[string]interface {}{"RequestItems":map[string]interface {}{"TestTable":[]interface {}{map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"TestRangeKey":map[string]interface {}{"N":"0193820384293"}, "TestHashKey":map[string]interface {}{"S":"MyKey"}}}}}, "FooData":[]interface {}{map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"testingstrbatch":map[string]interface {}{"S":"mystr"}, "testingbatch":map[string]interface {}{"N":"2111"}, "testing":map[string]interface {}{"N":"4"}}}}, map[string]interface {}{"PutRequest":map[string]interface {}{"Item":map[string]interface {}{"testingstrbatch":map[string]interface {}{"S":"myotherstr"}, "testingbatch":map[string]interface {}{"N":"93748249272"}, "testing":map[string]interface {}{"N":"444"}}}}, map[string]interface {}{"DeleteRequest":map[string]interface {}{"Key":map[string]interface {}{"TestRangeKeyDel":map[string]interface {}{"N":"7777777"}, "TestHashKeyDel":map[string]interface {}{"S":"DelKey"}}}}}}}}
OOPS: 14 passed, 12 skipped, 1 FAILED
--- FAIL: Test (0.01 seconds)
FAIL
exit status 1
FAIL github.com/crowdmob/goamz/dynamodb 0.014s
The command "go test -v ./dynamodb/" exited with 1.
from goamz.
Related Issues (20)
- Using bucket qualified hostnames with S3
- Add support for AWS China EndPoint HOT 2
- Pin all outside repo packages HOT 1
- Use V4 signer in SNS
- S3: Allow parameters to be passed to GET requests
- TYPE_BOOL : Missing NewBoolAttribute HOT 4
- S3 Use tcpdump httprequest find something wrong HOT 6
- Support for S3 PreSigned POST HOT 1
- Use profiles when selecting credentials from ~/.aws/credentials HOT 1
- parameter names should be sorted in v4signer HOT 3
- DescribeInstanceStatus returns empty InstanceStatuses list. HOT 2
- dynamodb: can't update attributes with custom update expression
- Not found ExclusiveStartStreamName and Limit parameter of ListStreams method in https://github.com/AdRoll/goamz/blob/master/kinesis/kinesis.go HOT 1
- s3: how to track upload progress
- Support ap-northeast-2
- Need "if-unmodified-since" support to (*Bucket)Del()
- [S3] V4signature support HOT 2
- Please add support for missing regions HOT 1
- Int overflow on 32 bits arches
- Possible exposed AWS Key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goamz.