File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ exec relay ls --pool prod --plain
1515
1616# expect only the prod pool license
1717stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
18- ! stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
18+ ! stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
1919
20- # list licenses in dev pool
20+ # list licenses in dev pool
2121exec relay ls --pool dev --plain
2222
2323# expect only the dev pool license
24- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
24+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
2525! stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
2626
2727# list all licenses (no pool specified)
2828exec relay ls --plain
2929
3030# expect all licenses to be listed
3131stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
32- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
32+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ exec relay add --pool dev --file license_2.lic --key 9A96B8-FD08CD-8C433B-7657C8
77# confirm both licenses are added
88exec relay ls --plain
99stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
10- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
10+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
1111
1212# delete license from prod pool using GUID
1313exec relay del --license dcea31a4-1664-4633-9f52-4a1b0b5ea2ef
@@ -21,14 +21,14 @@ stdout 'license pool is empty'
2121
2222# verify the dev pool license still exists
2323exec relay ls --pool dev --plain
24- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
24+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
2525
2626# delete license from dev pool using GUID
27- exec relay del --license e9b6f649-d8c2-49e3-9d41-aab32f0d08a3
27+ exec relay del --license 592d08c2-4045-462c-a981-dcd2bb78ce06
2828
2929# expect output indicating success
3030stdout 'license deleted successfully'
3131
3232# verify both pools are now empty
3333exec relay ls --plain
34- stdout 'license pool is empty'
34+ stdout 'license pool is empty'
Original file line number Diff line number Diff line change @@ -7,24 +7,24 @@ exec relay ls --pool prod --plain
77
88# should show only the prod license
99stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
10- ! stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
10+ ! stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
1111
12- # list licenses in dev pool only
12+ # list licenses in dev pool only
1313exec relay ls --pool dev --plain
1414
1515# should show only the dev license
16- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
16+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
1717! stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
1818
1919# list all licenses (no pool filter)
2020exec relay ls --plain
2121
2222# should show both licenses
2323stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
24- stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3 '
24+ stdout '592d08c2-4045-462c-a981-dcd2bb78ce06 '
2525
2626# list licenses from non-existent pool
2727exec relay ls --pool nonexistent --plain
2828
2929# should show pool not found error
30- stderr 'error: pool not found'
30+ stderr 'error: pool not found'
You can’t perform that action at this time.
0 commit comments