Jelajahi Sumber

Skip EternalBlue during efficiency-tests instead of commenting it out

Stefan Schmidt 6 tahun lalu
induk
melakukan
002c2c59fc
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      code/Test/efficiency_testing.py

+ 4 - 2
code/Test/efficiency_testing.py

@@ -1,3 +1,4 @@
+import unittest as ut
 import unittest.mock as mock
 
 import ID2TLib.TestLibrary as Lib
@@ -50,5 +51,6 @@ class EfficiencyTests(Test.ID2TAttackTest):
         self.temporal_efficiency_test([['MS17Scan', 'ip.src=192.168.178.1']], time_limit=1.5, factor=1000)
 
     # FIXME: improve EternalBlue efficiency
-    #def test_EternalBlue(self):
-    #    self.temporal_efficiency_test([['EternalBlue']], time_limit=1.5, factor=1000)
+    @ut.skip("EternalBlue needs performance improvements to pass the efficiency test")
+    def test_EternalBlue(self):
+        self.temporal_efficiency_test([['EternalBlue']], time_limit=1.5, factor=1000)