mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|elasticache] randomize cache cluster IDs in testing
This commit is contained in:
parent
a4c8d83260
commit
74d351998f
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
Shindo.tests('AWS::Elasticache | cache clusters', ['aws', 'elasticache']) do
|
||||
cluster_params = {
|
||||
:id => 'fog-test-cluster',
|
||||
:id => "fog-test-cluster-#{rand(999).to_s}",
|
||||
:node_type => 'cache.m1.large',
|
||||
:security_groups => ['default'],
|
||||
:engine => 'memcached',
|
||||
|
|
|
@ -3,7 +3,8 @@ Shindo.tests('AWS::Elasticache | cache cluster requests', ['aws', 'elasticache']
|
|||
tests('success') do
|
||||
pending if Fog.mocking?
|
||||
|
||||
cluster_id = 'fog-test-cluster'
|
||||
# Randomize the cluster ID so tests can be fequently re-run
|
||||
cluster_id = "fog-test-cluster-#{rand(999).to_s}" # 20 chars max!
|
||||
|
||||
tests(
|
||||
'#create_cache_cluster'
|
||||
|
|
Loading…
Add table
Reference in a new issue