/* Show that changing between memory domains and then switching to another thread in the same domain works as expected.  */
ZTEST(userspace_domain_ctx, test_domain_add_thread_context_switch)
/* Show that changing between memory domains and then switching to another thread in the same domain works as expected.  */
ZTEST(userspace_domain_ctx, test_domain_add_thread_context_switch)
{
	clear_fault();
	k_mem_domain_add_thread(&alternate_domain, k_current_get());
	spawn_user(&alt_bool);
}