Skip to content

Remove testLibKetamaWeightedCompatLibmemcached test

Vignesh Raman requested to merge wip/vignesh/disable-failing-test into apertis/v2022

This test is failing in Apertis OBS because the first hostname associated to 127.0.0.1 is not matching 'localhost'.

For instance, OBS aarch64 build job reports the following hostnames: https://gitlab.apertis.org/pkg/spymemcached/-/jobs/897546#L2095

  [  326s] 127.0.0.1 mp30-ar1-cbg-0-arm64-0
  [  326s] 127.0.0.1 localhost
  [  326s] 127.0.0.2 localhost.

Then the test gets a hostname value of mp30-ar1-cbg-0-arm64-0 and fails as it expects it to be localhost: https://gitlab.apertis.org/pkg/spymemcached/-/jobs/897546#L2980

  [  386s] junit.framework.ComparisonFailure:
           expected:<[localhost/127.0.0.1:11212]>
           but was:<[mp30-ar1-cbg-0-arm64-0/127.0.0.1:11211]>

Let's disable it as it doesn't seem to make any sense in OBS configuration. However, further research should be done to get this test working properly.

Signed-off-by: Ariel D'Alessandro ariel.dalessandro@collabora.com

Edited by Vignesh Raman

Merge request reports