go-ceph/cephfs/admin
John Mulligan 6900146fc4 cephfs admin: fix reversed args in greater-or-equal assertion
Now that the new year has arrived this test assertion has started to
fail. This is because, although I anticipated the year would eventually
change and used GreaterOrEqual, the argument order is wrong. My excuse
is that I find the argument order in testify's Equal function confusing,
it causes me to assume other functions in testify are also confusing
(even when it's the "normal" order) and/or I copy and pasted from an
Equal line and didn't change the args (both are true!).

Instead of allowing any old year, we assume that the clocks where the
test are run are in sync enough that the current year is correct for
the assertion (thanks for the suggestion Sven).
Happy new year, go-ceph!

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2021-01-05 13:30:50 +00:00
..
bytecount.go cephfs admin: add quotaSizePlaceholder type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
clone.go cephfs admin: doc comment improvements for clone 2020-10-07 08:54:34 -04:00
clone_test.go cephfs admin: add in a test for canceling clones 2020-10-02 09:12:02 -04:00
doc.go cephfs admin: disable package on 'luminous' and 'mimic' 2020-08-31 10:38:38 -04:00
flags.go cephfs admin: create a custom flags type for subvolume removal 2020-12-07 14:47:31 +00:00
fsadmin.go cephfs admin: move rmFlags type to a file for flags handling 2020-12-07 14:47:31 +00:00
fsadmin_test.go cephfs admin: add ability to check server version in tests 2020-10-03 11:08:13 -04:00
response.go cephfs admin: add support for returning not-implemented errors 2020-10-03 11:08:13 -04:00
response_test.go cephfs admin: add support for returning not-implemented errors 2020-10-03 11:08:13 -04:00
subvolume.go cephfs admin: create a custom flags type for subvolume removal 2020-12-07 14:47:31 +00:00
subvolume_test.go cephfs admin: fix reversed args in greater-or-equal assertion 2021-01-05 13:30:50 +00:00
subvolumegroup.go cephfs admin: add flagSet interface and mergeFlags function 2020-12-07 14:47:31 +00:00
subvolumegroup_test.go cephfs admin: remove subvolumegroup snapshot support 2020-10-27 10:06:16 -04:00
timestamp.go cephfs admin: add TimeStamp type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
timestamp_test.go cephfs admin: add TimeStamp type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
volume.go cephfs admin: add ListFileSystems function for listing fs with pools 2020-10-09 10:15:16 +02:00
volume_test.go cephfs admin: add ListFileSystems function for listing fs with pools 2020-10-09 10:15:16 +02:00
workflow_test.go cephfs admin: fix issues with TestWorkflow 2020-10-27 10:06:16 -04:00