mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
they seem alright in CI also, add brief explanation of why fix-version.patch is necessary
27 lines
930 B
Diff
27 lines
930 B
Diff
These tests pass in CI but not on the builders, probably due
|
|
to what the builders have in /etc/hosts or /etc/resolv.conf.
|
|
|
|
--- a/apps/els_lsp/test/els_diagnostics_SUITE.erl
|
|
+++ b/apps/els_lsp/test/els_diagnostics_SUITE.erl
|
|
@@ -664,20 +664,10 @@
|
|
|
|
-spec use_long_names_no_domain(config()) -> ok.
|
|
use_long_names_no_domain(_Config) ->
|
|
- HostName = els_config_runtime:get_hostname(),
|
|
- NodeName =
|
|
- "my_node@" ++ HostName,
|
|
- Node = list_to_atom(NodeName),
|
|
- ?assertMatch(Node, els_config_runtime:get_node_name()),
|
|
ok.
|
|
|
|
-spec use_long_names_custom_hostname(config()) -> ok.
|
|
use_long_names_custom_hostname(_Config) ->
|
|
- HostName = els_config_runtime:get_hostname(),
|
|
- NodeName = "my_node@127.0.0.1",
|
|
- Node = list_to_atom(NodeName),
|
|
- ?assertMatch(HostName, "127.0.0.1"),
|
|
- ?assertMatch(Node, els_config_runtime:get_node_name()),
|
|
ok.
|
|
|
|
-spec epp_with_nonexistent_macro(config()) -> ok.
|