Fix one more source of non-determinism in eager:core_test.
Fix one more source of non-determinism in eager:core_test.

I have run into situations where the context_switch stack would be
empty by the time testContextSwitchStackContainsEagerMode was
called. I tried to fix this properly by resetting the context for each
test, and that revealed a non-deterministic problem in another test.

That other test was disabled for now.

PiperOrigin-RevId: 296982908
Change-Id: I32e1fee39fd0cf7a7b0c98b3d6f964fe37ed6c07

karllessard/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,aam-at/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,annarev/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,renyi533/tensorflow,karllessard/tensorflow,aam-at/tensorflow,annarev/tensorflow,annarev/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,xzturn/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,annarev/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,karllessard/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,aldian/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,gunan/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,aam-at/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,xzturn/tensorflow,gunan/tensorflow,gautam1858/tensorflow,aldian/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,gunan/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,petewarden/tensorflow,xzturn/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,sarvex/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,yongtang/tensorflow,aldian/tensorflow,aldian/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,gunan/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,petewarden/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,gautam1858/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,xzturn/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,annarev/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,gunan/tensorflow,aam-at/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,aldian/tensorflow,yongtang/tensorflow,renyi533/tensorflow,annarev/tensorflow,yongtang/tensorflow,yongtang/tensorflow,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow