Merge "Use zaqar v2 in integration tests"
This commit is contained in:
commit
8eb4b57747
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from zaqarclient.queues.v1 import client as zaqarclient
|
from zaqarclient.queues.v2 import client as zaqarclient
|
||||||
|
|
||||||
from heat_integrationtests.common import test
|
from heat_integrationtests.common import test
|
||||||
from heat_integrationtests.functional import functional_base
|
from heat_integrationtests.functional import functional_base
|
||||||
@ -53,7 +53,7 @@ resources:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
zaqar = zaqarclient.Client(conf=conf, version=1.1)
|
zaqar = zaqarclient.Client(conf=conf)
|
||||||
queue = zaqar.queue(queue_id)
|
queue = zaqar.queue(queue_id)
|
||||||
|
|
||||||
def validate_messages():
|
def validate_messages():
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from keystoneclient.v3 import client as keystoneclient
|
from keystoneclient.v3 import client as keystoneclient
|
||||||
from zaqarclient.queues.v1 import client as zaqarclient
|
from zaqarclient.queues.v2 import client as zaqarclient
|
||||||
|
|
||||||
from heat_integrationtests.functional import functional_base
|
from heat_integrationtests.functional import functional_base
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ outputs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
zaqar = zaqarclient.Client(endpoint, conf=conf, version=1.1)
|
zaqar = zaqarclient.Client(endpoint, conf=conf)
|
||||||
|
|
||||||
queue = zaqar.queue(signal['queue_id'])
|
queue = zaqar.queue(signal['queue_id'])
|
||||||
queue.post({'body': {'data': 'here!', 'id': 'data_id'}, 'ttl': 600})
|
queue.post({'body': {'data': 'here!', 'id': 'data_id'}, 'ttl': 600})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user