@@ -132,7 +132,7 @@ func InitMSP() {
132
132
func initMSP () {
133
133
err := msptesttools .LoadMSPSetupForTesting ()
134
134
if err != nil {
135
- panic (fmt .Errorf ("Fatal error when reading MSP config: err %s\n " , err ))
135
+ panic (fmt .Errorf ("Fatal error when reading MSP config: err %s" , err ))
136
136
}
137
137
}
138
138
@@ -203,6 +203,7 @@ func TestCreateChainWithDefaultAnchorPeers(t *testing.T) {
203
203
}
204
204
205
205
func TestCreateChainWithWaitSuccess (t * testing.T ) {
206
+ t .Skip ("intermittent UT failure FAB-4128" )
206
207
InitMSP ()
207
208
208
209
mockchain := "mockchain"
@@ -460,7 +461,7 @@ func TestCreateChainInvalidTx(t *testing.T) {
460
461
461
462
defer os .Remove (file )
462
463
463
- if err : = cmd .Execute (); err == nil {
464
+ if err = cmd .Execute (); err == nil {
464
465
t .Errorf ("expected error" )
465
466
} else if _ , ok := err .(InvalidCreateTx ); ! ok {
466
467
t .Errorf ("invalid error" )
@@ -471,7 +472,7 @@ func TestCreateChainInvalidTx(t *testing.T) {
471
472
t .Fatalf ("couldn't create tx file" )
472
473
}
473
474
474
- if err : = cmd .Execute (); err == nil {
475
+ if err = cmd .Execute (); err == nil {
475
476
t .Errorf ("expected error" )
476
477
} else if _ , ok := err .(InvalidCreateTx ); ! ok {
477
478
t .Errorf ("invalid error" )
0 commit comments