Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5442

Tests for use-legacy-override in CLI config

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • CLI, Test Suite
    • None

      Description:
      Test plan to add integration tests for "use-legacy-override", behavior of default-controller and default-protocol defined in jboss-cli.xml when connecting to a server. Additionally test that the correct port is used according to specified protocol when no port is explicitly specified.

      Tests Plan:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      ./bin/jboss-cli.[sh/bat] --connect [--controller=localhost:$TESTED_PORT]
      
      • <default-protocol use-legacy-override=true> && no protocol specified && port=9999 → use remoting://
      • <default-protocol use-legacy-override=false> && no protocol specified && port=9999 → use protocol from <default-protocol>
      • no protocol specified in <default-controller> → use <default-protocol>
      • <default-protocol> is overridden by protocol defined in <default-controller> (JBEAP 7.0.0 new element)

            mschvarc Martin Schvarcbacher (Inactive)
            mschvarc Martin Schvarcbacher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: