qa/cephfs: replace deprecated assertEquals with assertEqual#63323
Conversation
The unittest.TestCase.assertEquals() method is deprecated in Python 2.7 and emits a DeprecationWarning. This commit replaces all instances of assertEquals() with the recommended assertEqual() in the cephfs test files to resolve these warnings and ensure future compatibility. This change addresses warnings such as: DeprecationWarning: Please use assertEqual instead. Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
|
jenkins test api |
|
@rishabh-d-dave If you are doing the QA, please add this PR in your next batch. |
|
@vshankar As informed via slack, please take this for QA. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
|
This PR is under test in https://tracker.ceph.com/issues/71496. |
* refs/pull/63323/head: Merge branch 'main' into main qa/cephfs: replace deprecated assertEquals with assertEqual Reviewed-by: Rishabh Dave <ridave@redhat.com> Reviewed-by: Jos Collin <jcollin@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
|
jenkins test windows |
|
jenkins test make check arm64 |
Possibly unrelated. I will check. |
|
jenkins test make check arm64 |
Yes. This is good to go once we get the tests running. We have faced multiple issues lately. |
* refs/pull/63323/head: Merge branch 'main' into main qa/cephfs: replace deprecated assertEquals with assertEqual Reviewed-by: Rishabh Dave <ridave@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com> Reviewed-by: Jos Collin <jcollin@redhat.com>
|
this needed a tracker ticket |
|
@batrick Fix already in main via this PR - just needs backport to |
The unittest.TestCase.assertEquals() method is deprecated in Python 2.7
and emits a DeprecationWarning. This commit replaces all instances of
assertEquals() with the recommended assertEqual() in the cephfs test files
to resolve these warnings and ensure future compatibility.
This change addresses warnings such as:
DeprecationWarning: Please use assertEqual instead.
Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition