Skip to content

Commit

Permalink
char juggling
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgr committed Aug 4, 2023
1 parent 770d439 commit 822695b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ suites with concurrent testing.
```
using RAITest
resize_test_engine_pool(2)
resize_test_engine_pool!(2)
@test_rel("def output = 1 ic {output = 1}")
Expand All @@ -31,7 +31,7 @@ resize_test_engine_pool(2)
query = "def output = 1 ic {output = 1}",
)
destroy_test_engines()
destroy_test_engines!()
```

Add an existing engine to the test engine pool.
Expand All @@ -51,7 +51,7 @@ Run multiple tests concurrently.
using RAITest
using Test
resize_test_engine_pool(3)
resize_test_engine_pool!(3)
# Instead of provisioning as needed, provision in advance
provision_all_test_engines()
Expand All @@ -63,7 +63,7 @@ provision_all_test_engines()
end
end
destroy_test_engines()
destroy_test_engines!()
```

Run multiple tests concurrently with a custom engine provider.
Expand All @@ -74,11 +74,11 @@ using Test
# Always use `my_existing_engine_name` as the engine name. This must already be created as
# RAITest will not create the engine itself
set_engine_name_provider(()->"my_existing_engine_name")
set_engine_name_provider!()->"my_existing_engine_name")
# Releasing the engine does nothing. Controlling the engine use and cleanup is not handled
# by RAITest
set_engine_name_releaser((name::String)->return)
set_engine_name_releaser!(name::String)->return)
@testset "My tests" begin
for i in 1:10
Expand Down

0 comments on commit 822695b

Please sign in to comment.