diff options
author | Siri Hansen <[email protected]> | 2018-12-20 14:33:49 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-12-20 14:33:49 +0100 |
commit | 38840a424cf7b0729025951a8dee43cf96abfd1c (patch) | |
tree | 448a6d211c1a02e4dfc54c695f31edd3fbd22b1e | |
parent | d27a7569a73480c8c800888923a0cdb7cb29356f (diff) | |
download | otp-38840a424cf7b0729025951a8dee43cf96abfd1c.tar.gz otp-38840a424cf7b0729025951a8dee43cf96abfd1c.tar.bz2 otp-38840a424cf7b0729025951a8dee43cf96abfd1c.zip |
[cdv] Check only own persistent terms in crashdump_viewer test
-rw-r--r-- | lib/observer/test/crashdump_helper.erl | 3 | ||||
-rw-r--r-- | lib/observer/test/crashdump_viewer_SUITE.erl | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/observer/test/crashdump_helper.erl b/lib/observer/test/crashdump_helper.erl index d5d3649525..d6b5eff9b5 100644 --- a/lib/observer/test/crashdump_helper.erl +++ b/lib/observer/test/crashdump_helper.erl @@ -204,5 +204,4 @@ dump_persistent_terms() -> create_persistent_terms() -> persistent_term:put({?MODULE,first}, {pid,42.0}), persistent_term:put({?MODULE,second}, [1,2,3]), - persistent_term:get(). - + {persistent_term:get({?MODULE,first}),persistent_term:get({?MODULE,second})}. diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl index 8c5e618f4a..31cf7011d4 100644 --- a/lib/observer/test/crashdump_viewer_SUITE.erl +++ b/lib/observer/test/crashdump_viewer_SUITE.erl @@ -615,9 +615,8 @@ special(File,Procs) -> #proc{dict=Dict} = ProcDetails, %% io:format("~p\n", [Dict]), - Pts1 = crashdump_helper:create_persistent_terms(), - Pts2 = proplists:get_value(pts,Dict), - true = lists:sort(Pts1) =:= lists:sort(Pts2), + Pts = crashdump_helper:create_persistent_terms(), + Pts = proplists:get_value(pts,Dict), io:format(" persistent terms ok",[]), ok; _ -> |