You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/03/04 12:12:45 UTC

[GitHub] [cloudstack] nvazquez commented on a change in pull request #6056: Fix osx build

nvazquez commented on a change in pull request #6056:
URL: https://github.com/apache/cloudstack/pull/6056#discussion_r819519340



##########
File path: plugins/hypervisors/kvm/src/test/java/org/apache/cloudstack/utils/linux/MemStatTest.java
##########
@@ -46,6 +46,7 @@ public void setup() throws Exception {
     @Test
     public void getMemInfoParseTest() {
         MemStat memStat = new MemStat();
+        memStat.refresh();

Review comment:
       I see this is causing issue on linux packaging (also line 60):
   
   ````
   [ERROR] getMemInfoParseTest(org.apache.cloudstack.utils.linux.MemStatTest)  Time elapsed: 0.005 s  <<< ERROR!
   java.lang.IllegalStateException: Scanner closed
   	at org.apache.cloudstack.utils.linux.MemStatTest.getMemInfoParseTest(MemStatTest.java:49)
   ````




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org