diff options
author | Niclas Eklund <[email protected]> | 2011-02-15 12:46:53 +0100 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2011-02-15 12:46:53 +0100 |
commit | 5ee6233265d6d8e6a3d2e079908dd9f12235fe70 (patch) | |
tree | d2f9fba6b1058380d3be9fa03ce4502057d6e8a5 /lib/orber/test/orber_test_lib.erl | |
parent | d2bb03ce3a6a99f3e3f0abe1f74a355879437c4f (diff) | |
download | otp-5ee6233265d6d8e6a3d2e079908dd9f12235fe70.tar.gz otp-5ee6233265d6d8e6a3d2e079908dd9f12235fe70.tar.bz2 otp-5ee6233265d6d8e6a3d2e079908dd9f12235fe70.zip |
Updated light weight tests.
Diffstat (limited to 'lib/orber/test/orber_test_lib.erl')
-rw-r--r-- | lib/orber/test/orber_test_lib.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/orber/test/orber_test_lib.erl b/lib/orber/test/orber_test_lib.erl index b95cf4b0ec..e22e3bdb0a 100644 --- a/lib/orber/test/orber_test_lib.erl +++ b/lib/orber/test/orber_test_lib.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2010. All Rights Reserved. +%% Copyright Ericsson AB 1999-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -287,9 +287,11 @@ start_ssl(true, Node) -> start_ssl(_, _) -> ok. -start_orber({lightweigth, Options}, Node) -> +start_orber({lightweight, Options}, Node) -> + ok = rpc:call(Node, mnesia, start, []), ok = rpc:call(Node, orber, start_lightweight, [Options]); start_orber(lightweight, Node) -> + ok = rpc:call(Node, mnesia, start, []), ok = rpc:call(Node, orber, start_lightweight, []); start_orber(_, Node) -> ok = rpc:call(Node, orber, jump_start, []). |