Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 625611352
  • Loading branch information
tensorflower-gardener committed Apr 17, 2024
1 parent 59a9570 commit 62cdcaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tensorflow/core/profiler/lib/profiler_disabled_test.cc
Expand Up @@ -24,7 +24,8 @@ namespace {

TEST(ProfilerDisabledTest, ProfilerDisabledTest) {
setenv("TF_DISABLE_PROFILING", "1", /*overwrite=*/1);
StatusOr<ProfilerLock> profiler_lock = tsl::profiler::ProfilerLock::Acquire();
absl::StatusOr<ProfilerLock> profiler_lock =
tsl::profiler::ProfilerLock::Acquire();
EXPECT_FALSE(profiler_lock.ok());
}

Expand Down

0 comments on commit 62cdcaf

Please sign in to comment.