This is to test if Episcina breaks on using the latest relx.
Steps:
- First update the rel/sys.config file with your postgres database details.
- In the main dir relx_test enter the command gmake run
- Enter pp_db:simple_query("select 1"). at the erlang prompt and see that it works.
- Exit erlang
- gmake distclean
- Now open erlang.mk and go to line 6710-11.
- Comment out the line where the RELX_URL refers to the old relx
- Uncomment the line where the RELX_URL refers to the new relx
- Save and exit
- Repeat the steps in 2. An error similar to the one below should be seen
Sample error message: 1> pp_db:simple_query("select 1"). ** exception error: timeout in function gproc:await/2 called as gproc:await({n,l,{epna_pool,primary}},10000) in call from timer:tc/3 (timer.erl, line 197) in call from epna_pool:get_connection/2 (src/epna_pool.erl, line 86) in call from pp_db:get_connection/1 (src/pp_db.erl, line 16) in call from pp_db:simple_query/1 (src/pp_db.erl, line 38) ))))}})"") ~ ~