[erlang-questions] Common test issues - Possible bug?
Mon Sep 27 13:19:04 CEST 2010
What are you using to run your tests? The run_test command, or are you
starting them from an erlang shell?
Also have you seen this problem when not using ct_ssh? or is it only
when you are doing tests with ssh calls in them?
If you could provide me with a minimal test suite which reproduces the
error you are seeing that would be great!
Lukas, Erlang/OTP, Ericsson AB.
On Fri, Sep 24, 2010 at 6:40 PM, Mikkel Jensen <>
I have been working on setting up a test case using Erlang
Common Test. The
test is pretty simple, it consists of a sequence of calls to
Running the test once works. Running the test a few times (using
usually works. But if i let the test suite repeat a large number
it fails after successfully running the test multiple times (In
attempt it completed 42 runs, no joke, but it seems like the
can stop at any time).
The error i'm getting is:
It is not possible to install CT while running in interactive
To exit this mode, run ct:stop_interactive().
To enter the interactive mode again, run ct:start_interactive()
Does anyone know how i can avoid this, allowing me to run a
large number of
On a sidenote: I have noticed in the logs that ct_ssh will
lost its connection when trying to call ct_ssh:exec(), and thus
to reconnect. This attempt will, however, always fail instantly.
workaround i have made is to manually connect on each call i
ct_ssh:exec(). This seems less than ideal, is there a better
Kind regards and thanks in advance,
More information about the erlang-questions