move test to base; include port fix changes

pull/6555/head
Tony 3 weeks ago
parent aa425caa1c
commit 92e2cf364f

@ -1,12 +1,10 @@
// Copyright IBM Corp. 2020, 2025 // Copyright IBM Corp. 2020, 2025
// SPDX-License-Identifier: BUSL-1.1 // SPDX-License-Identifier: BUSL-1.1
package base_connect_test package base_test
import ( import (
"context" "context"
"fmt"
"math/rand"
"strings" "strings"
"testing" "testing"
"time" "time"
@ -42,7 +40,7 @@ func TestCliTcpTargetConnectPending(t *testing.T) {
// Start a session // Start a session
ctxCancel, cancel := context.WithCancel(context.Background()) ctxCancel, cancel := context.WithCancel(context.Background())
port := fmt.Sprint(10000 + rand.Intn(90000)) port := "12345"
cmdChan := make(chan *e2e.CommandResult) cmdChan := make(chan *e2e.CommandResult)
go func() { go func() {
t.Log("Starting session...") t.Log("Starting session...")
Loading…
Cancel
Save