Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-19 | Use loopback/any config in examples suite | Anders Svensson | |
2017-06-14 | Fix sctp check in examples suite | Anders Svensson | |
To partake of the change in commit 69c5a741. | |||
2017-06-13 | Capitulate on SCTP vs sparc-sun-solaris2.10 | Anders Svensson | |
Despite the efforts of commits 1df74351 and 111261d1 to salvage it, SCTP is just flakey on sparc-sun-solaris2.10. In addition to the woes of the loopback address, even connect on other addresses sporadically returns {error, eafnosupport}, so the initial check for a working SCTP (aka resistance) is futile. Revert both commits. | |||
2017-06-11 | Work around SCTP quirks on sparc-sun-solaris2.10 | Anders Svensson | |
This addresses the testcase failures mentioned in the parent commit, which has been on account of the behaviour below, in which connect fails on the loopback address. Work around it by finding/using another address if possible. $ erl Erlang/OTP 20 [DEVELOPMENT] [erts-9.0] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false] [sharing-preserving] Eshell V9.0 (abort with ^G) 1> {ok, LP} = gen_sctp:open(). {ok,#Port<0.439>} 2> gen_sctp:listen(LP, true). ok 3> inet:socknames(LP). {ok,[{{10,67,16,178},36506},{{127,0,0,1},36506}]} 4> {ok, S} = gen_sctp:open([{ip, {127,0,0,1}}]). {ok,#Port<0.443>} 5> gen_sctp:connect_init(S, {127,0,0,1}, 36506, []). {error,eaddrnotavail} 6> gen_sctp:connect_init(S, {10,67,16,178}, 36506, []). {error,eaddrnotavail} 7> gen_sctp:close(S). ok 8> f(S). ok 9> {ok, S} = gen_sctp:open(). {ok,#Port<0.444>} 10> gen_sctp:connect_init(S, {127,0,0,1}, 36506, []). ok Even the following has been seen on at least one host, so that success of gen_sctp:open/0 is no guarantee. $ ifconfig -a4 lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 10.67.16.180 netmask ffffff00 broadcast 10.67.16.255 $ erl Erlang/OTP 20 [DEVELOPMENT] [erts-9.0] [source] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false] Eshell V9.0 (abort with ^G) 1> {ok, S} = gen_sctp:open(), 1> gen_sctp:connect(S, {127,0,0,1}, 3868, []). {error,eafnosupport} 2> gen_sctp:connect(S, {10,67,16,180}, 3868, []). {error,eafnosupport} | |||
2015-08-13 | Merge branch 'maint-17' into maint | Anders Svensson | |
The diffs are all about adapting to the OTP 18 time interface. The code was previously backwards compatible, falling back on the erlang:now/0 if erlang:monotonic_time/0 is unavailable, but this was seen to be a bad thing in commit 9c0f2f2c. Use of erlang:now/0 is now removed. | |||
2015-08-05 | Simplify time manipulation | Anders Svensson | |
By doing away with more wrapping that the parent commit started to remove. | |||
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-02-20 | Use new time api in test suites | Anders Svensson | |
Where it's less important to do so, but it has to be done at some point since erlang:now/0 is deprecated. As in the parent commit, continue to use the old api if the new one is unavailable. | |||
2015-02-20 | Don't orphan slave nodes in example suite | Anders Svensson | |
Stops were aborted at the first failure. | |||
2014-05-25 | Anchor path regexps in examples suite | Anders Svensson | |
They match emacs backup files and more without the anchor, although this doesn't stop the matches from finding files the suite isn't (yet) intended to test: files under development, not yet commited, etc. | |||
2014-05-25 | Run examples suite over both TCP and SCTP | Anders Svensson | |
This was supposed to already be the case (in what passes for my memory), and detects that commit ed6395a6 is horrifically broken: diameter is unable to send CEA over SCTP. | |||
2013-11-30 | Add makefile to build example dictionaries | Anders Svensson | |
2013-06-10 | Trailing whitespace and copyright fixes | Anders Svensson | |
2013-04-23 | Add examples testcase to help identify timetrap failures | Anders Svensson | |
There are still enslave/1 failures on some hosts despite a 2 minute timetrap. | |||
2013-04-15 | Lighten up on suite timetraps | Anders Svensson | |
Due to sporadic timeouts one some (slow) hosts. | |||
2013-04-11 | More robust listening port lookup in test suites | Anders Svensson | |
In particular, remove timing dependence by using diameter_reg:wait/1 to wait on the term registered by diameter_{tcp,sctp} when opening a listening socket. | |||
2013-03-24 | Compile example dictionaries against both RFC 3588 and 6733 | Anders Svensson | |
2013-03-24 | Compile example dicts from the repo when running locally | Anders Svensson | |
Instead of from the installation. | |||
2013-03-24 | Move example dict compilation to examples suite | Anders Svensson | |
From compiler suite. | |||
2013-03-24 | Add examples suite for testing example code | Anders Svensson | |
That is, code installed under examples/code in an installation. |