Skip to content

Commit e07f4f1

Browse files
committed
finalize
1 parent c423243 commit e07f4f1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

framework/cmd/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Usage:
108108
fmt.Printf("📁 Your environment directory is: %s\n", outputDir)
109109
fmt.Printf("💻 Your CLI name is: %s\n", cliName)
110110
fmt.Printf("📜 More docs can be found in %s/README.md\n", outputDir)
111+
fmt.Printf("⬛ Entering the shell..\n")
111112
fmt.Println()
112113

113114
cmd := exec.Command("just", "cli")

framework/tmpl_gen.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,6 @@ func getCommands() []prompt.Suggest {
10431043
{Text: "test", Description: "Perform smoke or load/chaos testing"},
10441044
{Text: "bs", Description: "Manage the Blockscout EVM block explorer"},
10451045
{Text: "obs", Description: "Manage the observability stack"},
1046-
{Text: "db", Description: "Inspect Databases"},
10471046
{Text: "exit", Description: "Exit the interactive shell"},
10481047
}
10491048
}
@@ -1556,17 +1555,15 @@ func TestLoadChaos(t *testing.T) {
15561555
wait: 20 * time.Second,
15571556
command: "stop --duration=20s --restart re2:don-node0",
15581557
validate: func(c []*clclient.ChainlinkClient) error {
1559-
_, _, err := c[0].ReadBridges()
1560-
return err
1558+
return nil
15611559
},
15621560
},
15631561
{
15641562
name: "Introduce network delay",
15651563
wait: 20 * time.Second,
15661564
command: "netem --tc-image=gaiadocker/iproute2 --duration=20s delay --time=1000 re2:don-node.*",
15671565
validate: func(c []*clclient.ChainlinkClient) error {
1568-
_, _, err := c[0].ReadBridges()
1569-
return err
1566+
return nil
15701567
},
15711568
},
15721569
}
@@ -2703,7 +2700,11 @@ func (g *EnvBuilder) validate() error {
27032700
// onlyLetters strip any symbol except letters
27042701
func onlyLetters(name string) string {
27052702
return strings.Map(func(r rune) rune {
2706-
if unicode.IsLetter(r) && unicode.IsLower(r) {
2703+
if unicode.IsUpper(r) {
2704+
r = []rune(strings.ToLower(string(r)))[0]
2705+
return r
2706+
}
2707+
if unicode.IsLetter(r) {
27072708
return r
27082709
}
27092710
return -1

0 commit comments

Comments
 (0)