Why the stock market’s fragile calm faces a major test starting Friday