)]}'
{
  "commit": "39f883fd7a2fae343d8f931078027de711d0c812",
  "tree": "2e5a45683789655e7b02404bde613f67a499efb8",
  "parents": [
    "acccf27636d1e7bc22a1314cc6d96851f17fc9c1"
  ],
  "author": {
    "name": "Xiao Ma",
    "email": "xiaom@google.com",
    "time": "Wed Jan 31 20:27:48 2024 +0900"
  },
  "committer": {
    "name": "Xiao Ma",
    "email": "xiaom@google.com",
    "time": "Thu Feb 01 11:26:02 2024 +0900"
  },
  "message": "Fix flaky unit tests related to the flag: ignore organic nud failure.\n\nThe unit tests intended to check there should not be any notifyLost\ncallback to be triggered when the experiment flag is enabled, but the\nflag value is initialized at the IpReachabilityMonitor constructor, that\nrequires the flag value to be set before running any test case. But the\ntest code enables the flag just before running the assert function, in\nfact the flag value in the test is always false, but somehow the\nmockito.never did catch the callback sometimes. Wait the HandleThread\nbecome idle after replying with a organic NUD failure event and then\ncall never() to check, that ensures the notifyLost callback should never\nbe called.\n\nThis CL also updates the log message for critical organic NUD failure\nevents, which are to be ignored.\n\nBug: 315076572\nTest: atest NetworkStackTests --rerun-until-failure\nChange-Id: I88f5c40cb298c0c021de1baf15b256b3ece9ad2f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d2b1064d7242dfe0ec89f56d3e671ec67c6ef75d",
      "old_mode": 33188,
      "old_path": "src/android/net/ip/IpReachabilityMonitor.java",
      "new_id": "daf9e51deea009c2e51baa5806543bd01cab56e8",
      "new_mode": 33188,
      "new_path": "src/android/net/ip/IpReachabilityMonitor.java"
    },
    {
      "type": "modify",
      "old_id": "f93a3bdf2c652369b4e864fd26ae667d676599c8",
      "old_mode": 33188,
      "old_path": "tests/unit/src/android/net/ip/IpReachabilityMonitorTest.kt",
      "new_id": "fbf311b2c2a03918608d7c188b27eacbc370960c",
      "new_mode": 33188,
      "new_path": "tests/unit/src/android/net/ip/IpReachabilityMonitorTest.kt"
    }
  ]
}
