Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning committed Jan 12, 2017
1 parent bcf57ee commit dfba5ab
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions test/commands/topics_create_test.js
Expand Up @@ -124,26 +124,4 @@ describe('kafka:topics:create', () => {
expect(cli.stdout).to.equal('Use `heroku kafka:topics:info topic-1` to monitor your topic.\n')
})
})

it('defaults to 32 partitions', () => {
kafka.post(createUrl('00000000-0000-0000-0000-000000000000'),
{
topic: {
name: 'topic-1',
retention_time_ms: 10,
replication_factor: '3',
partition_count: '32',
compaction: false
}
}).reply(200)

return cmd.run({app: 'myapp',
args: { TOPIC: 'topic-1' },
flags: { 'replication-factor': '3',
'retention-time': '10ms' }})
.then(() => {
expect(cli.stderr).to.equal('Creating topic topic-1... done\n')
expect(cli.stdout).to.equal('Use `heroku kafka:topics:info topic-1` to monitor your topic.\n')
})
})
})

0 comments on commit dfba5ab

Please sign in to comment.