Quellcode durchsuchen

put assertUpdates in config

mlnicolas vor 8 Jahren
Ursprung
Commit
71632b4552
2 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 4 0
      application.yml
  2. 2 0
      crss-mq-computation/crss-mq-computation-dev2.yml

+ 4 - 0
application.yml

@@ -65,4 +65,8 @@ batch:
   partitionSize:
     amsEmf: 1500
     amsRmf: 1500
+  writer:
+    #Set this to false when using partitioned tables, as it always returns zero for the number or rows updated, which
+    #will cause job to fail
+    assertUpdates: true
 

+ 2 - 0
crss-mq-computation/crss-mq-computation-dev2.yml

@@ -75,6 +75,8 @@ batch:
     mq: 5000
     ssla: 5000
     report: 1
+  writer:
+    assertUpdates: false
 
 mqreport:
   directory: /tmp/