Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ trait KyuubiFunSuite extends FunSuite
with ThreadAudit
with Logging {
// scalastyle:on
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not relate about this pr, why here forbid scalastyle check ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me try to remove it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The forbid is necessary because of the rule:

  <check customId="funsuite" level="error" class="org.scalastyle.scalariform.TokenChecker" enabled="true">
    <parameters><parameter name="regex">^FunSuite[A-Za-z]*$</parameter></parameters>
    <customMessage>Tests must extend org.apache.kyuubi.KyuubiFunSuite instead.</customMessage>
  </check>

System.setProperty(KyuubiConf.FRONTEND_BIND_HOST.key, "127.0.0.1")
override def beforeAll(): Unit = {
System.setProperty(IS_TESTING.key, "true")
System.setProperty(KyuubiConf.FRONTEND_BIND_HOST.key, "127.0.0.1")
doThreadPostAudit()
super.beforeAll()
}
Expand Down