Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-382

Regular asserts should not be used in test programs.

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.0, 1.2.1, 1.3.0
    • 1.3.0
    • Core
    • None

    Description

      The test programs in server/core/test use ss_info_assert for testing that results are what they are expected to be.

      Since ss_info_assert is compiled out in release mode, they don't test anything in that case and also cause compile time warnings (about variables being unused).

      There should be en equivalent macro, say MD_CHECK or MD_VERIFY that are always active.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.