Merge pull request #39135 from deepeshgarg007/demo_test_case

fix: flaky demo test case