#50714 Issue 49761 - Fix CI test suite issues
Closed 3 years ago by spichugi. Opened 4 years ago by vashirov.
vashirov/389-ds-base ds49761  into  master

@@ -790,7 +790,7 @@ 

      assert topology_st.standalone.ds_access_log.match(r'.*SRCH base="{}".*'.format(DEFAULT_SUFFIX))

  

  

- @pytest.mark.xfail(ds_is_older('1.3.8'), reason="May fail because of bug 1676948")

+ @pytest.mark.xfail(ds_is_older('1.3.8', '1.4.2'), reason="May fail because of bug 1676948")

  @pytest.mark.bz1676948

  @pytest.mark.ds50536

  def test_audit_log_rotate_and_check_string(topology_st, clean_access_logs, set_audit_log_config_values_to_rotate):

@@ -15,6 +15,7 @@ 

  from lib389.idm.user import (TEST_USER_PROPERTIES, UserAccounts)

  

  from lib389.dbgen import dbgen

+ from lib389.utils import ds_is_older

  

  pytestmark = pytest.mark.tier1

  

file modified
+1 -1
@@ -1077,7 +1077,7 @@ 

      if len(ver) > 1:

          for cmp_ver in ver:

              if cmp_ver.startswith(ds_ver[:3]):

-                 return ops[relation](version.parse(ds_ver),version.parse(cmp_ver))

+                 return ops[relation](LegacyVersion(ds_ver),LegacyVersion(cmp_ver))

      else:

          return ops[relation](LegacyVersion(ds_ver), LegacyVersion(ver[0]))

  

Description:
Fix few more issues around version detection.

Relates: https://pagure.io/389-ds-base/issue/49761

rebased onto 6ec6aecf99193447b52c4bc4d93718bdac3698e3

4 years ago

rebased onto e7f0ec9

4 years ago

Pull-Request has been merged by vashirov

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3769

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago