Giter VIP home page Giter VIP logo

Comments (2)

nabeken avatar nabeken commented on July 17, 2024

@alimoeeny Okay. I'll take a look. Do you have a log that TestAddWriteRequestItems is failing?

from goamz.

alimoeeny avatar alimoeeny commented on July 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.