Skip to content

Commit

Permalink
fix-kusto-test (Azure#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaozha authored Oct 12, 2020
1 parent cfedf58 commit d13726c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

@try_manual
def setup(test, rg):
test.kwargs.update({'eventhub_namespace': "codegenlivetest", 'eventhub_name': 'livetest'})
test.kwargs.update({
'eventhub_namespace': test.create_random_name(prefix='codegenlivetest', length=20),
'eventhub_name': test.create_random_name(prefix='livetest', length=15)
})
test.cmd('az eventhubs namespace create --name {eventhub_namespace} -g {rg}')
test.cmd('az eventhubs eventhub create --name {eventhub_name} --namespace-name {eventhub_namespace} -g {rg}')

Expand Down

0 comments on commit d13726c

Please sign in to comment.