Stocks' ability to ignore potential threats could be tested come August by two potential impediments.