Merge pull request #2099 from ssoulier/master
fix bug in Stream init (wrong number of shards)
This commit is contained in:
commit
75d9707e8e
2 changed files with 8 additions and 13 deletions
|
|
@ -15,7 +15,7 @@ from moto import mock_kinesis, mock_kinesis_deprecated
|
|||
def test_create_cluster():
|
||||
conn = boto.kinesis.connect_to_region("us-west-2")
|
||||
|
||||
conn.create_stream("my_stream", 2)
|
||||
conn.create_stream("my_stream", 3)
|
||||
|
||||
stream_response = conn.describe_stream("my_stream")
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ def test_create_cluster():
|
|||
stream["StreamStatus"].should.equal("ACTIVE")
|
||||
|
||||
shards = stream['Shards']
|
||||
shards.should.have.length_of(2)
|
||||
shards.should.have.length_of(3)
|
||||
|
||||
|
||||
@mock_kinesis_deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue