Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
faermanj committed Aug 21, 2023
1 parent 0eafe28 commit 8a7eee5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions demos/99_wishlist/oci_upi_ocp.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# using implicit wait: and fully qualified invocation ($subject $action $object $profile)
# https://github.com/mtulio/ansible-collection-okd-installer/blob/feat-added-provider-oci/docs/guides/OCI/oci-prerequisites.md
up okd-installer create cluster oci-opct
Empty file.
4 changes: 4 additions & 0 deletions demos/99_wishlist/up_module_provider.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
up module: aws-nuke
up install: aws-nuke
up template: aws-nuke.envsubst.yaml
up wait: aws-nuke -c aws-nuke.yaml
2 changes: 1 addition & 1 deletion up_lib/tests/test_action_wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def test_simple_wait():
start = timer()
wait({}, ["sleep", "2"])
wait({}, ["sleep", "3"])
end = timer()
elapsed = end - start
assert elapsed > 2.0
Expand Down
4 changes: 2 additions & 2 deletions up_lib/tests/test_fibo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def test_twenty():
assert fib(10) == 55


def test_slow():
assert fib(333) == 1751455877444438095408940282208383549115781784912085789506677971125378
def test_million():
assert str(fib(1000000))[0:10] == "1953282128"


def test_waiter_simple():
Expand Down

0 comments on commit 8a7eee5

Please sign in to comment.