Mark a whole lot of tests to skip on m1 as they core dump
This commit is contained in:
@@ -92,6 +92,7 @@ type InvestmentResponse struct {
|
||||
}
|
||||
|
||||
func TestInitializeStaking(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
ctx, k := CreateTestInput(t, false, SupportedFeatures)
|
||||
accKeeper, stakingKeeper, keeper, bankKeeper := k.AccountKeeper, k.StakingKeeper, k.ContractKeeper, k.BankKeeper
|
||||
|
||||
@@ -226,6 +227,7 @@ func initializeStaking(t *testing.T) initInfo {
|
||||
}
|
||||
|
||||
func TestBonding(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
initInfo := initializeStaking(t)
|
||||
ctx, valAddr, contractAddr := initInfo.ctx, initInfo.valAddr, initInfo.contractAddr
|
||||
keeper, stakingKeeper, accKeeper, bankKeeper := initInfo.wasmKeeper, initInfo.stakingKeeper, initInfo.accKeeper, initInfo.bankKeeper
|
||||
@@ -274,6 +276,7 @@ func TestBonding(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUnbonding(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
initInfo := initializeStaking(t)
|
||||
ctx, valAddr, contractAddr := initInfo.ctx, initInfo.valAddr, initInfo.contractAddr
|
||||
keeper, stakingKeeper, accKeeper, bankKeeper := initInfo.wasmKeeper, initInfo.stakingKeeper, initInfo.accKeeper, initInfo.bankKeeper
|
||||
@@ -339,6 +342,7 @@ func TestUnbonding(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestReinvest(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
initInfo := initializeStaking(t)
|
||||
ctx, valAddr, contractAddr := initInfo.ctx, initInfo.valAddr, initInfo.contractAddr
|
||||
keeper, stakingKeeper, accKeeper, bankKeeper := initInfo.wasmKeeper, initInfo.stakingKeeper, initInfo.accKeeper, initInfo.bankKeeper
|
||||
@@ -407,6 +411,7 @@ func TestReinvest(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryStakingInfo(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
// STEP 1: take a lot of setup from TestReinvest so we have non-zero info
|
||||
initInfo := initializeStaking(t)
|
||||
ctx, valAddr, contractAddr := initInfo.ctx, initInfo.valAddr, initInfo.contractAddr
|
||||
@@ -586,6 +591,7 @@ func TestQueryStakingInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryStakingPlugin(t *testing.T) {
|
||||
SkipIfM1(t)
|
||||
// STEP 1: take a lot of setup from TestReinvest so we have non-zero info
|
||||
initInfo := initializeStaking(t)
|
||||
ctx, valAddr, contractAddr := initInfo.ctx, initInfo.valAddr, initInfo.contractAddr
|
||||
|
||||
Reference in New Issue
Block a user