shuwenwei commented on code in PR #179:
URL: https://github.com/apache/iotdb-client-go/pull/179#discussion_r4637604883


##########
client/protocol.go:
##########
@@ -113,127 +113,236 @@ const (
 )
 
 // TSStatusCode
+// The names and values follow the current Java TSStatusCode definition. Legacy

Review Comment:
   We kept the TSStatusCode alignment in this PR because the separate-module 
dependency problem that motivated splitting it has been removed. Subscription 
packages now live in the root `github.com/apache/iotdb-client-go/v2` module, so 
the status-code and Tablet decoding APIs ship in the same module version. The 
exported-constant removals and renumbering are explicitly documented in the PR 
description and must be included in release notes. No separate prerequisite PR 
is required to unblock this work.



##########
test/e2e/config_test.go:
##########
@@ -0,0 +1,158 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package e2e
+
+import (
+       "os"
+       "strings"
+       "testing"
+       "time"
+
+       "github.com/apache/iotdb-client-go/subscription"
+       subsession "github.com/apache/iotdb-client-go/subscription/session"
+       "github.com/apache/iotdb-client-go/v2/client"
+)
+
+const (
+       e2eDefaultNodeURLs  = "iotdb:6668,iotdb:6667,iotdb:6669"
+       e2eDefaultTableHost = "iotdb"
+       e2eDefaultTablePort = "6667"
+       e2eDefaultUsername  = "root"
+       e2eDefaultPassword  = "root"
+)
+
+var (
+       e2eNodeURLs = e2eDefaultValue("IOTDB_E2E_NODE_URLS", "", 
e2eDefaultNodeURLs)
+       e2eUsername = e2eDefaultValue("IOTDB_E2E_USERNAME", "IOTDB_USERNAME", 
e2eDefaultUsername)
+       e2ePassword = e2eValueOrFallback("IOTDB_E2E_PASSWORD", 
"IOTDB_PASSWORD", e2eDefaultPassword)
+)
+
+// Subscription cases are discovered by the normal go test run but require an
+// explicit environment opt-in. Endpoint and credential defaults come from the
+// shared E2E configuration.
+const (
+       subscriptionE2EDefaultEnabled = false

Review Comment:
   The current Apache CI environment cannot run the subscription E2E suite 
because it does not provide a subscription-enabled server/config. The suite 
remains opt-in, and all subscription E2E scenarios have already been 
self-tested locally against the required environment. We plan to enable this 
coverage in a separate CI branch/pipeline that provisions the required server 
setup.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to