@@ -17,6 +17,8 @@ import (
1717
1818// TestGenerateAnApp tests scaffolding a new chain.
1919func TestGenerateAnApp (t * testing.T ) {
20+ t .Parallel ()
21+
2022 var (
2123 env = envtest .New (t )
2224 app = env .ScaffoldApp ("github.com/test/blog" )
@@ -30,6 +32,8 @@ func TestGenerateAnApp(t *testing.T) {
3032
3133// TestGenerateAnAppMinimal tests scaffolding a new minimal chain.
3234func TestGenerateAnAppMinimal (t * testing.T ) {
35+ t .Parallel ()
36+
3337 var (
3438 env = envtest .New (t )
3539 app = env .ScaffoldApp ("blog" , "--minimal" )
@@ -43,6 +47,8 @@ func TestGenerateAnAppMinimal(t *testing.T) {
4347
4448// TestGenerateAnAppWithName tests scaffolding a new chain using a local name instead of a GitHub URI.
4549func TestGenerateAnAppWithName (t * testing.T ) {
50+ t .Parallel ()
51+
4652 var (
4753 env = envtest .New (t )
4854 app = env .ScaffoldApp ("blog" )
@@ -56,6 +62,8 @@ func TestGenerateAnAppWithName(t *testing.T) {
5662
5763// TestGenerateAnAppWithInvalidName tests scaffolding a new chain using an invalid name.
5864func TestGenerateAnAppWithInvalidName (t * testing.T ) {
65+ t .Parallel ()
66+
5967 buf := new (bytes.Buffer )
6068
6169 env := envtest .New (t )
@@ -72,6 +80,8 @@ func TestGenerateAnAppWithInvalidName(t *testing.T) {
7280}
7381
7482func TestGenerateAnAppWithNoDefaultModule (t * testing.T ) {
83+ t .Parallel ()
84+
7585 var (
7686 env = envtest .New (t )
7787 app = env .ScaffoldApp ("github.com/test/blog" , "--no-module" )
@@ -84,6 +94,8 @@ func TestGenerateAnAppWithNoDefaultModule(t *testing.T) {
8494}
8595
8696func TestGenerateAnAppWithNoDefaultModuleAndCreateAModule (t * testing.T ) {
97+ t .Parallel ()
98+
8799 var (
88100 env = envtest .New (t )
89101 app = env .ScaffoldApp ("github.com/test/blog" , "--no-module" )
@@ -99,6 +111,8 @@ func TestGenerateAnAppWithNoDefaultModuleAndCreateAModule(t *testing.T) {
99111}
100112
101113func TestGenerateAppWithEmptyModule (t * testing.T ) {
114+ t .Parallel ()
115+
102116 var (
103117 env = envtest .New (t )
104118 app = env .ScaffoldApp ("github.com/test/blog" )
@@ -174,6 +188,8 @@ func TestGenerateAppWithEmptyModule(t *testing.T) {
174188}
175189
176190func TestGenerateAnAppWithAddressPrefix (t * testing.T ) {
191+ t .Parallel ()
192+
177193 var (
178194 env = envtest .New (t )
179195 app = env .ScaffoldApp ("github.com/test/blog" , "--address-prefix=gm" , "--coin-type=60" )
@@ -198,6 +214,8 @@ func TestGenerateAnAppWithAddressPrefix(t *testing.T) {
198214}
199215
200216func TestGenerateAnAppWithDefaultDenom (t * testing.T ) {
217+ t .Parallel ()
218+
201219 var (
202220 env = envtest .New (t )
203221 app = env .ScaffoldApp ("github.com/test/blog" , "--default-denom=good" )
@@ -218,6 +236,8 @@ func TestGenerateAnAppWithDefaultDenom(t *testing.T) {
218236}
219237
220238func TestScaffoldModuleWithUnderscoreAppName (t * testing.T ) {
239+ t .Parallel ()
240+
221241 var (
222242 env = envtest .New (t )
223243 app = env .ScaffoldApp ("github.com/test/space_chain" )
0 commit comments