The global swine flu pandemic will expose the failure of the international community to invest in health protection in poor countries, the world's top health official warned here yesterday.