Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1552

Slaves should report the master's version in the domain model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha12
    • 2.2.0.CR2
    • Management
    • None

      Setting up the mixed domain tests for an EAP7 slave, I get the following error :

        SimpleMixedDomain700TestCase>SimpleMixedDomainTest.test00002_Versioning:139 expected:<{
          "management-major-version" => 4,
          "management-micro-version" => 0,
          "management-minor-version" => 1,
          "name" => "Unnamed Domain",
          "namespaces" => [],
          "product-name" => "WildFly Full",
          "product-version" => "10.1.0.Final-SNAPSHOT",
          "release-codename" => "Kenny",
          "release-version" => "2.2.0.CR2",
          "schema-locations" => []
      }> but was:<{
          "management-major-version" => 4,
          "management-micro-version" => 0,
          "management-minor-version" => 1,
          "name" => "Unnamed Domain",
          "namespaces" => [],
          "product-name" => "JBoss EAP",
          "product-version" => "7.0.0.GA",
          "release-codename" => "Kenny",
          "release-version" => "2.1.2.Final-redhat-1",
          "schema-locations" => []
      }>
      

      The 'expected' is the WildFly master values, while the 'actual' are the slave values. product-name, product-version, release-codename and release-version on the slave should be the same as the master values. Once we upgrade to Wildfly Core 3.0.0 we should also check that the management-[major/minor/micro]-version attributes on the slave are the same as the DC's values as well (i.e 5.0.0 rather than 4.0.1) This is similar to WFLY-3228 back in the day.

      This is probably caused by the SyncXXX handlers for pushing the domain config as operations (WFCORE-401)

            ehugonne1@redhat.com Emmanuel Hugonnet
            kkhan1@redhat.com Kabir Khan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: