Skip to content

Commit

Permalink
Remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Apr 11, 2022
1 parent 954803e commit 9061b06
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions storagemarket/impl/providerstates/provider_states_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ func TestValidateDealProposal(t *testing.T) {
bigDataCap := big.NewIntUnsigned(uint64(defaultPieceSize))
smallDataCap := big.NewIntUnsigned(uint64(defaultPieceSize - 1))

//invalidLabelBytes := make([]byte, 257)
//rand.Read(invalidLabelBytes)
//invalidLabel, err := market.NewDealLabelFromBytes(invalidLabelBytes)
//assert.NoError(t, err)

tests := map[string]struct {
nodeParams nodeParams
dealParams dealParams
Expand Down Expand Up @@ -195,15 +190,6 @@ func TestValidateDealProposal(t *testing.T) {
require.Equal(t, "deal rejected: verified deal DataCap too small for proposed piece size", deal.Message)
},
},
//"label is too long": {
// dealParams: dealParams{
// Label: invalidLabel,
// },
// dealInspector: func(t *testing.T, deal storagemarket.MinerDeal, env *fakeEnvironment) {
// tut.AssertDealState(t, storagemarket.StorageDealRejecting, deal.State)
// require.Equal(t, "deal rejected: deal label can be at most 256 bytes, is 344", deal.Message)
// },
//},
"invalid piece size": {
dealParams: dealParams{
PieceSize: 129,
Expand Down

0 comments on commit 9061b06

Please sign in to comment.