Skip to content

Commit

Permalink
Merge pull request #177 from art2ip/juno_24_0614
Browse files Browse the repository at this point in the history
Fixed test failure.
  • Loading branch information
art2ip committed Jun 21, 2024
2 parents 4f99105 + 969b9d8 commit 9750751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions pkg/client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (

"github.com/paypal/junodb/pkg/io"
"github.com/paypal/junodb/pkg/util"
"github.com/paypal/junodb/internal/cli"
cal "github.com/paypal/junodb/pkg/logging/cal/config"
)

Expand Down Expand Up @@ -57,8 +56,5 @@ func (c *Config) validate(useGetTLS bool) error {
if c.DefaultTimeToLive < 0 {
return fmt.Errorf("Config.DefaultTimeToLive is negative.")
}
if c.Server.SSLEnabled && !useGetTLS && !cli.TLSInitialized() {
return fmt.Errorf("getTLSConfig is nil.")
}
return nil
}
2 changes: 1 addition & 1 deletion test/functest/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func setup() {
var err error

if proxyClient, err = client.New(cfg); err != nil {
glog.Exitf("proxyClient create in set up is null, fail")
glog.Exitf("%s proxyClient create in set up is null, fail", err)
}
cfgShare = cfg
cfgShare.Namespace = "NS2"
Expand Down

0 comments on commit 9750751

Please sign in to comment.