You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/07/27 02:03:35 UTC
[GitHub] [incubator-kyuubi] hddong commented on a diff in pull request #3148: Change etcd docker image to recover arm64 CI
hddong commented on code in PR #3148:
URL: https://github.com/apache/incubator-kyuubi/pull/3148#discussion_r930552013
##########
kyuubi-ha/src/test/scala/org/apache/kyuubi/ha/client/etcd/EtcdDiscoveryClientSuite.scala:
##########
@@ -31,20 +30,26 @@ import org.apache.kyuubi.ha.client.DiscoveryClientTests
import org.apache.kyuubi.service.NoopTBinaryFrontendServer
class EtcdDiscoveryClientSuite extends DiscoveryClientTests {
+
+ val etcdVersion = "3.5.4"
+
private var etcdCluster: EtcdCluster = _
var engineServer: NoopTBinaryFrontendServer = _
- private lazy val _connectString = etcdCluster.clientEndpoints().asScala.mkString(",")
+ private lazy val _connectString = etcdCluster.clientEndpoints.asScala.mkString(",")
- override def getConnectString(): String = _connectString
+ override def getConnectString: String = _connectString
val conf: KyuubiConf = {
KyuubiConf()
.set(HA_CLIENT_CLASS, classOf[EtcdDiscoveryClient].getName)
}
override def beforeAll(): Unit = {
- etcdCluster = new Etcd.Builder().withNodes(2).build()
+ etcdCluster = new Etcd.Builder()
+ .withImage(s"gcr.io/etcd-development/etcd:v$etcdVersion")
Review Comment:
shall we also change those `builder`
https://github.com/apache/incubator-kyuubi/blob/87782097976fd7732ad0b455613369b77ea78bad/externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/WithEtcdCluster.scala#L40-L44
https://github.com/apache/incubator-kyuubi/blob/87782097976fd7732ad0b455613369b77ea78bad/kyuubi-server/src/test/scala/org/apache/kyuubi/engine/EngineRefWithEtcdSuite.scala#L42-L46
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org