anchor.diff:                             exit(Reason)
                      end
              end,
  -    Post = fun({Node, _}) ->
  -                   ?STOP_NODE(Node)
  +    Post = fun(Node) ->
  +                   monitor_node(Node, true),
  +                   ?NPRINT("try stop node ~p", [Node]),
  +                   ?STOP_NODE(Node),
  +                   receive
  +                       {nodedown, Node} ->
  +                           ?NPRINT("node ~p stopped", [Node]),
  +                           ok
  +                   end
              end,
  +    io:format("do_size_check -> do test"
  +              "~n", []),
       ?TC_TRY(Name, Pre, Case, Post).
   
   run_on(Node, F) when is_atom(Node) andalso is_function(F, 0) ->
  
positive.code:     do_size_check(Name, Init, Config).
  
  do_size_check(Name, Init, Config) ->
      Pre = fun() ->
                    {ok, Node} = ?ALIB:start_node(unique(Name)),
                    ok = run_on(Node, Init),
  
negative.code:     %% Create a bad file
      ok = file:write_file(join(DbDir, "snmpa_symbolic_store.db"), 
  			 "calvin and hoppes play chess"),
      Factor = ?config(snmp_factor, Config),
      ct:timetrap(?MINS(1 + (Factor div 2))),
      Config;
  init_per_testcase2(size_check_ets3_bad_file1, Config) when is_list(Config) ->
      DbDir = ?config(db_dir, Config),
      %% Create a bad file
      ok = file:write_file(join(DbDir, "snmpa_symbolic_store.db"), 
  			 "calvin and hoppes play chess"),
      Factor = ?config(snmp_factor, Config),
      ct:timetrap(?MINS(1 + (Factor div 2))),
      Config;
  init_per_testcase2(size_check_mnesia, Config) when is_list(Config) ->
      Factor = ?config(snmp_factor, Config),
      ct:timetrap(?MINS(1 + (Factor div 2))),
      Config;
  init_per_testcase2(cache_test, Config) when is_list(Config) ->
      Factor = ?config(snmp_factor, Config),
      ct:timetrap(?MINS(5 + (Factor div 2))),
      Config;
  init_per_testcase2(_Case, Config) when is_list(Config) ->
      Factor = ?config(snmp_factor, Config),
      ct:timetrap(?MINS(1 + (Factor div 3))),
      Config.
  
  
  