diff options
author | Peter Andersson <[email protected]> | 2011-04-11 22:52:48 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2011-04-28 22:42:59 +0200 |
commit | 4e1b099698aac698f89ca172b62ba2330c85ad90 (patch) | |
tree | 422a59e9d92179452c5139b9c1799e3530a0a68f /lib/common_test/src/ct_util.erl | |
parent | 34208aa4201b169249c03a188afb5076dc4804a2 (diff) | |
download | otp-4e1b099698aac698f89ca172b62ba2330c85ad90.tar.gz otp-4e1b099698aac698f89ca172b62ba2330c85ad90.tar.bz2 otp-4e1b099698aac698f89ca172b62ba2330c85ad90.zip |
Make it possible to refresh the top level index page at the start of a test run.
Diffstat (limited to 'lib/common_test/src/ct_util.erl')
-rw-r--r-- | lib/common_test/src/ct_util.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_util.erl b/lib/common_test/src/ct_util.erl index 7c04ecf17d..b3e345b4e5 100644 --- a/lib/common_test/src/ct_util.erl +++ b/lib/common_test/src/ct_util.erl @@ -37,7 +37,7 @@ read_suite_data/1, delete_suite_data/0, delete_suite_data/1, match_delete_suite_data/1, delete_testdata/0, delete_testdata/1, set_testdata/1, get_testdata/1, - update_testdata/2]). + set_testdata_async/1, update_testdata/2]). -export([override_silence_all_connections/0, override_silence_connections/1, get_overridden_silenced_connections/0, @@ -231,6 +231,9 @@ update_testdata(Key, Fun) -> set_testdata(TestData) -> call({set_testdata, TestData}). +set_testdata_async(TestData) -> + cast({set_testdata, TestData}). + get_testdata(Key) -> call({get_testdata, Key}). |