Skip to content

Commit 71d55d6

Browse files
committed
Change application.refresh test to use juju-qa-test
1 parent 02ee3ca commit 71d55d6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/integration/test_application.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,25 +180,25 @@ async def test_upgrade_charm_switch_channel(event_loop):
180180
# will be testing nothing (if not failing).
181181

182182
async with base.CleanModel() as model:
183-
app = await model.deploy('mongodb', channel='stable')
183+
app = await model.deploy('juju-qa-test', channel='2.0/stable')
184184
await model.wait_for_idle(status='active')
185185

186186
charm_url = URL.parse(app.data['charm-url'])
187187
assert Schema.CHARM_HUB.matches(charm_url.schema)
188-
still76 = False
188+
still22 = False
189189
try:
190190
assert charm_url.revision == 76
191-
still76 = True
191+
still22 = True
192192
except AssertionError:
193193
logger.warning("Charm used in test_upgrade_charm_switch_channel "
194194
"seems to have been updated, the test needs to be revised")
195195

196-
await app.upgrade_charm(channel='candidate')
196+
await app.upgrade_charm(channel='2.0/edge')
197197
await model.wait_for_idle(status='active')
198198

199-
if still76:
199+
if still22:
200200
try:
201-
assert charm_url.revision == 75
201+
assert charm_url.revision == 23
202202
except AssertionError:
203203
raise errors.JujuError("Either the upgrade has failed, or the used charm moved "
204204
"the candidate channel to stable, so no upgrade took place, "

0 commit comments

Comments
 (0)