"dbt run"- what happens when a test fails?

Hi,

If I run “dbt run” with a few models to be deployed and a couple of tests.
What happens when a test fails? does it mean nothing gets committed?