Browse Source

#3546: [Improvement][Test] Remove powermock in service and server modules (#12164)

* Remove powermock and refactor some related code in dolphinscheduler-service and dolphinscheduler-server modules
* Remove redundant comments
* Add null check
git-as-svn/v1/dev
Eric Gao 2 years ago committed by GitHub
parent
commit
ce578f82c4
  1. 2
      commit.ref
  2. 169
      commit.yml

2
commit.ref

@ -1 +1 @@
Subproject commit 995c1480f92e8129bb90161df419e9299709fff9 Subproject commit d1e409e9a2b7756bb73659d067dc3e0e7b0bb98f

169
commit.yml

@ -2,25 +2,154 @@
branches: { branches: {
} }
fileChange: fileChange:
/docs: /dolphinscheduler-server:
newFile: !uuid '865e65de5a653c84a51099b4fed68652a8db1e8b' newFile: !uuid 'b9218b6def545cd129b80ffa5af93d9f44d43c53'
oldFile: !uuid 'bbbd5e37373553bb7fe468dd38ac2b750287e46a' oldFile: !uuid 'de37aedd37f7ccf93e7f398689de3fd93c51091d'
/docs/docs: /dolphinscheduler-server/pom.xml:
newFile: !uuid 'fd74c4840ed2df6e5e5a2a9d78db8245bdd9602f' newFile: !uuid '5a0ee9972ebce81398eeeedee2611a65c3653f3c'
oldFile: !uuid 'c521e033ea09a3b75ab60a6e0ce9cbc118e30625' oldFile: !uuid '40c8d166b7cbbe7f2dd4ffa69ed3c7edc3a2b9ec'
/docs/docs/en: /dolphinscheduler-server/src:
newFile: !uuid '12811c21c0ab6ab40f127cc0cc9c2f5b15f102cf' newFile: !uuid 'dbbf521b6f59d9ab2c1ca49838b702726e44f781'
oldFile: !uuid '0e3f01e0c7381e6140eabb9526b0e1e586a8669d' oldFile: !uuid '18abb8febc19feec1044ad076556e425700dd46b'
/docs/docs/en/guide: /dolphinscheduler-server/src/main:
newFile: !uuid 'ebdd93a042c264d49f886d8f29b9496d390b2d01' newFile: !uuid 'c52142d6b14f33056bd37b1be26a3ab38072c043'
oldFile: !uuid '6f6af013da235a87201b61ff7b31cbc01facf86d' oldFile: !uuid 'b39dda9dd9eda47c2b89eb25a6489f914b7efc8f'
/docs/docs/en/guide/installation: /dolphinscheduler-server/src/main/java:
newFile: !uuid '6f829992e324fcd0a67b2197a47932f0e9b2060f' newFile: !uuid 'bb45ad37f34f9c4564e4434fa07b29f99ae30c04'
oldFile: !uuid '7f568e477a1e188bf266cd1ad4a554c0e28ab0ab' oldFile: !uuid 'e927c928ba879b71bdd48ebcf51aa478b8e5231f'
/docs/docs/en/guide/installation/standalone.md: /dolphinscheduler-server/src/main/java/org:
newFile: !uuid 'd35f8146b912eae252d467a718e7ff6d35552c99' newFile: !uuid '46c988ea28033204d5421c1d48cc00e25f8e1b94'
oldFile: !uuid '98bb1f555a35604d75e369a6fcceb3beab60546c' oldFile: !uuid '784f4351fdd9f5e45d1ce954f075c9316e1453ec'
gitCommitId: !uuid '995c1480f92e8129bb90161df419e9299709fff9' /dolphinscheduler-server/src/main/java/org/apache:
newFile: !uuid 'acfa2a4fb9c7c6af741ad6fa7cc7dce446b8b134'
oldFile: !uuid '18a5ab29bfa01c5e2565054190e14276544a8de8'
/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid 'f581743671dc4404da8c83c165fc502be68a9a41'
oldFile: !uuid '08724e870ef6f3909e39710f63f80ea25543442d'
/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server:
newFile: !uuid '495d89bb64526ce7523a57b8966e4286b9bd03a2'
oldFile: !uuid '4b60df61a304ec9feb5e9bd5d9758f4b9a229cbf'
/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils:
newFile: !uuid 'e3f2bd228df312703c7e102de403570164ad9c79'
oldFile: !uuid 'e9f37958563174b063185aff2d15c5ebc8652308'
/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java:
newFile: !uuid '35794cf3d03d0e8748e5b537036247a7ba078706'
oldFile: !uuid 'a8361fa4ed9e3a702cf8a2f9d633375e9d24ef04'
/dolphinscheduler-server/src/test:
newFile: !uuid '056388e78745fda92d957b3b8d56d985661e9e30'
oldFile: !uuid 'ca0a18695faf497fd0bc2a3fc3df8fc24505a9a6'
/dolphinscheduler-server/src/test/java:
newFile: !uuid '5d00ddc8e4c452e2ca597a2fcb295bd784e4227b'
oldFile: !uuid 'b94ff07f50475ce76e5cbf27f1d6392e865c2d41'
/dolphinscheduler-server/src/test/java/org:
newFile: !uuid '1d623673c0948bea444b034dfb8bd886e9d5ac8a'
oldFile: !uuid '57daa9155857a7fb47821ff156691b01bfdf9361'
/dolphinscheduler-server/src/test/java/org/apache:
newFile: !uuid '76c3d63199ebba4a8be736a6aa21b37803a84dbf'
oldFile: !uuid 'cffeaa7e03d9b86b1ff3c8777d2ddc464d79ce8c'
/dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler:
newFile: !uuid '211b5be6a3c9b959057113935d05da74b3a9adab'
oldFile: !uuid '725f7a8de2e08e0c45987edbe88c86f2a7782541'
/dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server:
newFile: !uuid 'cb7dad334063c268dabf5c136596b7fdcc5f2d6c'
oldFile: !uuid '639b225841451ef1b6942925e9112c97418bd6f7'
/dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils:
newFile: !uuid '0525a11279d49a948b5415b81d0f455e9fe612ce'
oldFile: !uuid '755de9cb857e9d0e2d4ba849b29b0e5730a7c642'
/dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/ProcessUtilsTest.java:
newFile: !uuid '7664ed7f0535ae49ed6fe9e7c076bd4b2e563066'
oldFile: !uuid '232f4dbaf2da592c4ceea6e916d7fca153a4452f'
/dolphinscheduler-service:
newFile: !uuid '8f5bb2670ca177cef628176dc22d5f65521278e8'
oldFile: !uuid '3eb0e9351ecd1dc6f7dc1a57d1b9c2c1f64fc82f'
/dolphinscheduler-service/pom.xml:
newFile: !uuid 'b8d89c0a6a0d28dd248f313fc48330cbdcb248f9'
oldFile: !uuid '8b450f9f53f0e348685be2d3feaa702beadda06f'
/dolphinscheduler-service/src:
newFile: !uuid '6a230164aef23347c1e30c0d90f12905ab56827c'
oldFile: !uuid '9d2f9dd591e3d70f07ae0db2b013eefca59d5e1d'
/dolphinscheduler-service/src/main:
newFile: !uuid '80fefcae8ba022dc6a5094f000a4f98bf3a8613c'
oldFile: !uuid '36d40108e27a16cc01680f84577dd9327c7b5c29'
/dolphinscheduler-service/src/main/java:
newFile: !uuid '1cf9733f3294da9c2ca774dc6ea08bfcec0b83a8'
oldFile: !uuid '845780a77bacd0ae0406d651135596ad9b5a3302'
/dolphinscheduler-service/src/main/java/org:
newFile: !uuid '0ff67c5e561573a02faf1ca4678d10e104cb6e7e'
oldFile: !uuid '539fb1e7a5017e171ebb19dab981572ecc514822'
/dolphinscheduler-service/src/main/java/org/apache:
newFile: !uuid '5fcf0ac1469b6d8b565052d24bd638c87c5e5473'
oldFile: !uuid 'e697f8b7a8a76ea366c2c4e1b9452ecefa663076'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid 'a10737c774d2d94790fb18ecd2a41800ab283a86'
oldFile: !uuid 'fe7f6fc547202e846c32d63e84aa766b27f8ff2c'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service:
newFile: !uuid 'eedd5b92884a34a36c641fd60ceb28eec9479bfd'
oldFile: !uuid 'f1cc68c510c6227626b74e85b190f87f3adb43de'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert:
newFile: !uuid 'ae2b94631ce128b71ca2c377a87f19a81f3fc39a'
oldFile: !uuid '674e96bc0be7a4b09e9af7c90a7c9244a5217db7'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/AlertClientService.java:
newFile: !uuid '178cd6b2cc26da4280b3a80fdc912f0642ff7f35'
oldFile: !uuid 'ce6ad57035c8158d8f7afaec3a369859d5bcfb63'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/factory:
newFile: !uuid 'a4a2af5fa9ce33bee24fdb7db8083a1a0fcee793'
oldFile: null
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/factory/NettyRemotingClientFactory.java:
newFile: !uuid '450b052be4e478a473936e2258653aa1249714ef'
oldFile: null
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log:
newFile: !uuid '850de719006eb0c59c0a9e36914df45372c07d6e'
oldFile: !uuid '7f9065ddad369ead89547bf89e615d7b5b1fe4bd'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClient.java:
newFile: !uuid 'd72dfeba13cd874ac5d49bc7141a2b874e63114a'
oldFile: !uuid '611bb49b67f4b682603bd873a140a9a18ddf6c41'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process:
newFile: !uuid '8caa96ed1bc85520ad615a36ef65ba80e8ba055f'
oldFile: !uuid '3b8a90ea927d0cf21d9adc97a91f35693161b365'
/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java:
newFile: !uuid '57e16d2250dfb4945e1d2f0e15d60d2138eeffdf'
oldFile: !uuid '5d9c952617b98008b5721ee51fcdc8517a022830'
/dolphinscheduler-service/src/test:
newFile: !uuid '63b2cb2004ba6986d3ec9e0c48751107f8296efe'
oldFile: !uuid 'a21e6ed72bd6c79fc1862ecb1c3820e09edbb8e5'
/dolphinscheduler-service/src/test/java:
newFile: !uuid 'c1bbcc18fc86171cff4d615c1297ad2aeb98d947'
oldFile: !uuid '3a9404b2b8fd9fb23511d9efd0c5af660a4929e4'
/dolphinscheduler-service/src/test/java/org:
newFile: !uuid '2aa8ddfba1a660fa5d11a15b3c6028a9182b8c90'
oldFile: !uuid 'c2d3ccead8df812e726ef3dc4ee71800db926acd'
/dolphinscheduler-service/src/test/java/org/apache:
newFile: !uuid '21f71bcbd6870a2298e3db3ec37ef1529385f703'
oldFile: !uuid 'a62384056e629bff969681cc35e3163dae3a10ea'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler:
newFile: !uuid 'ac600483a94d6dd3f85c008c1c451ca020e503e5'
oldFile: !uuid '11da675bd2af4c244e59fc11f9c88af2223fa39d'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service:
newFile: !uuid 'ae80d5a6cab1113058f2f93f342dcd172546dcbb'
oldFile: !uuid 'db3f4783de799d35f54027cbd28e17370913d6bd'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert:
newFile: !uuid 'a22c56201ca488591c1ae69999abbf1ecfffa857'
oldFile: !uuid 'b112755fcf30f7096036593dada8d765e91d5682'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert/AlertClientServiceTest.java:
newFile: !uuid '0140f6e770f961e4537cd86e95b0de3b83bd0123'
oldFile: !uuid '5dbd26b1736fc43e0aa92782bf7ddcb445331c02'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManagerTest.java:
newFile: !uuid 'e0fbc58b9a9819048745dad43c3ea6e7ff7bfd2f'
oldFile: !uuid 'ec37903c9caabc6a59b610691173f5d1a6b0a194'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/log:
newFile: !uuid '898ad91cb5c0f5f2aee4bf2e94147ee79aa910e5'
oldFile: !uuid 'b8b6dfcea74fda314ee6ecee534ff18e495772a5'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/log/LogClientTest.java:
newFile: !uuid '449cbc5a3c04f3a9a2940abd98cfca60c7ab8b39'
oldFile: !uuid 'c0b600130330dc6a0a92810949dfa6742123bf65'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process:
newFile: !uuid 'e52488e03346c44bb6339df8975c693a706c5e5d'
oldFile: !uuid '2ce4239b9714a9a4f4373c9892adb2898ddfc568'
/dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java:
newFile: !uuid '1cb07948750efa14e9299bc8990b9609c025180a'
oldFile: !uuid 'b1d64e67c3e9ce9b1a61fa8c89edc6bd3fcdbdfb'
gitCommitId: !uuid 'd1e409e9a2b7756bb73659d067dc3e0e7b0bb98f'
renames: { renames: {
} }
revisionId: 3545 revisionId: 3546

Loading…
Cancel
Save