Github user tzulitai commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5193#discussion_r159724744
  
    --- Diff: 
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/MockEnvironment.java
 ---
    @@ -383,7 +383,10 @@ public void failExternally(Throwable cause) {
     
        @Override
        public void close() {
    -           checkState(memManager.verifyEmpty(), "Memory Manager managed 
memory was not completely freed.");
    +           // close() method should be idempotent and calling 
memManager.verifyEmpty() will thow after it was shutdown.
    --- End diff --
    
    nit: typo "throw"


---

Reply via email to